Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") translateModel(AES.Devel_test_models.Test_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 105.7 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09641/0.09641, allocations: 22.33 MB / 313.4 MB, free: 8.961 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.2 kB / 379.3 MB, free: 42.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07188/0.07317, allocations: 54.96 MB / 434.3 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002645/0.07585, allocations: 1.633 MB / 435.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003472/0.07621, allocations: 155.5 kB / 436.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.07629, allocations: 4 kB / 436.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.07634, allocations: 11.86 kB / 436.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.07643, allocations: 15.8 kB / 436.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.07665, allocations: 43.91 kB / 436.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.0768, allocations: 87.7 kB / 436.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.07693, allocations: 35.98 kB / 436.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.07698, allocations: 27.86 kB / 436.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.07705, allocations: 39.72 kB / 436.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.07708, allocations: 4 kB / 436.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.0771, allocations: 8 kB / 436.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.07713, allocations: 23.86 kB / 436.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.07718, allocations: 35.8 kB / 436.4 MB, free: 13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.07729, allocations: 79.72 kB / 436.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.0773, allocations: 0 / 436.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.07731, allocations: 0 / 436.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.07732, allocations: 3.938 kB / 436.5 MB, free: 12.92 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004341/0.07776, allocations: 391.3 kB / 436.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.07779, allocations: 8.031 kB / 436.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.07783, allocations: 12.84 kB / 436.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.07801, allocations: 192.2 kB / 437.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.07804, allocations: 8.375 kB / 437.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.07807, allocations: 12.36 kB / 437.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.07823, allocations: 77.8 kB / 437.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.07825, allocations: 192 / 437.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.07827, allocations: 3.938 kB / 437.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.07827, allocations: 0 / 437.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.07836, allocations: 31.98 kB / 437.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.07881, allocations: 348.5 kB / 437.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.07912, allocations: 62.61 kB / 437.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.07918, allocations: 12.86 kB / 437.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.0792, allocations: 0 / 437.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.07924, allocations: 42.55 kB / 437.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.365e-06/0.07925, allocations: 0 / 437.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002184/0.07947, allocations: 73.47 kB / 437.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.07951, allocations: 55.41 kB / 437.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.07963, allocations: 144.1 kB / 437.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.07965, allocations: 25.7 kB / 438 MB, free: 11.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.07971, allocations: 104 kB / 438.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.07974, allocations: 15.8 kB / 438.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.07979, allocations: 21.72 kB / 438.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.07989, allocations: 318.8 kB / 438.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.561e-05/0.07994, allocations: 12 kB / 438.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/0.07999, allocations: 16 kB / 438.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.08008, allocations: 44.91 kB / 438.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.08009, allocations: 0 / 438.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000137/0.08023, allocations: 69.59 kB / 438.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.08025, allocations: 8 kB / 438.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.08027, allocations: 4 kB / 438.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.08028, allocations: 0 / 438.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.08034, allocations: 8 kB / 438.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.08035, allocations: 3.984 kB / 438.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.0804, allocations: 11.92 kB / 438.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.08041, allocations: 3.938 kB / 438.6 MB, free: 10.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.08049, allocations: 122.6 kB / 438.7 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.08052, allocations: 7.906 kB / 438.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.08057, allocations: 12.25 kB / 438.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.08058, allocations: 7.938 kB / 438.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.08058, allocations: 0 / 438.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.08059, allocations: 3.938 kB / 438.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.08078, allocations: 193.6 kB / 438.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.08079, allocations: 0 / 438.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.08087, allocations: 11.98 kB / 439 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.08088, allocations: 0 / 439 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.08089, allocations: 0 / 439 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.0809, allocations: 0 / 439 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.0809, allocations: 0 / 439 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.08112, allocations: 183.4 kB / 439.1 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.08118, allocations: 85.19 kB / 439.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.08121, allocations: 0 / 439.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.08128, allocations: 11.97 kB / 439.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.08132, allocations: 11.91 kB / 439.2 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.08133, allocations: 3.938 kB / 439.2 MB, free: 9.855 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.0814, allocations: 109.9 kB / 439.3 MB, free: 9.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08141, allocations: 4.062 kB / 439.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.08165, allocations: 11.91 kB / 439.4 MB, free: 9.734 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.514e-05/0.08174, allocations: 95.25 kB / 439.5 MB, free: 9.633 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.08188, allocations: 32.05 kB / 439.5 MB, free: 9.602 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.08189, allocations: 0 / 439.5 MB, free: 9.602 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.859e-05/0.08194, allocations: 23.92 kB / 439.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.08227, allocations: 20.11 kB / 439.5 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.08264, allocations: 225.7 kB / 439.8 MB, free: 9.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.08289, allocations: 0.7002 MB / 440.5 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.08293, allocations: 11.44 kB / 440.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.08294, allocations: 0 / 440.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of Templates: time 0.002323/0.08526, allocations: 1.071 MB / 441.5 MB, free: 7.496 MB / 318.1 MB make -j1 -f AES_AES.Devel_test_models.Test_FOPDT.makefile (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & ./AES_AES.Devel_test_models.Test_FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)