Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001533, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 239.2 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 196.5 kB / 289.5 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4611/0.4611, allocations: 78.52 MB / 418.2 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 79.88 kB / 497.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1529, allocations: 68.18 MB / 0.5524 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.2418/0.3947, allocations: 6.073 MB / 0.5583 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.3986, allocations: 1.852 MB / 0.5601 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.3997, allocations: 8.219 kB / 0.5601 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008254/0.4005, allocations: 219.9 kB / 0.5603 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.403, allocations: 0.6894 MB / 0.561 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.4046, allocations: 0.6312 MB / 0.5616 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.4067, allocations: 1.335 MB / 0.5629 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.4072, allocations: 293.7 kB / 0.5632 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000819/0.408, allocations: 0.5582 MB / 0.5637 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.4087, allocations: 0.6885 MB / 0.5644 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.4088, allocations: 98.28 kB / 0.5645 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/0.4093, allocations: 237.4 kB / 0.5647 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.4095, allocations: 264.7 kB / 0.565 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.4099, allocations: 0.5839 MB / 0.5655 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.4111, allocations: 1.445 MB / 0.567 GB, free: 34.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4111, allocations: 0 / 0.567 GB, free: 34.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4111, allocations: 0 / 0.567 GB, free: 34.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.4111, allocations: 1.719 kB / 0.567 GB, free: 34.23 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007395/0.4185, allocations: 2.442 MB / 0.5693 GB, free: 33.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.4186, allocations: 11.84 kB / 0.5694 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004885/0.4235, allocations: 0.7712 MB / 0.5701 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.425, allocations: 0.7291 MB / 0.5708 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.4253, allocations: 257.2 kB / 0.5711 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.4255, allocations: 78.22 kB / 0.5711 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.4277, allocations: 1.096 MB / 0.5722 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.4277, allocations: 0 / 0.5722 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.78e-05/0.4278, allocations: 29.66 kB / 0.5722 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.4278, allocations: 17.78 kB / 0.5723 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.43, allocations: 1.029 MB / 0.5733 GB, free: 32.64 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005676/0.4357, allocations: 3.51 MB / 0.5767 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.4378, allocations: 1.446 MB / 0.5781 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.4391, allocations: 0.7365 MB / 0.5788 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.354e-05/0.4392, allocations: 21.8 kB / 0.5788 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.4393, allocations: 42.28 kB / 0.5789 GB, free: 30.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.305e-06/0.4393, allocations: 2.75 kB / 0.5789 GB, free: 30.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02493/0.4642, allocations: 6.435 MB / 0.5852 GB, free: 29.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.4643, allocations: 91.39 kB / 0.5853 GB, free: 29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.4655, allocations: 0.8294 MB / 0.5861 GB, free: 28.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.4657, allocations: 45.8 kB / 0.5861 GB, free: 28.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.466, allocations: 451.6 kB / 0.5865 GB, free: 28.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.4663, allocations: 316.5 kB / 0.5868 GB, free: 27.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00041/0.4667, allocations: 199 kB / 0.587 GB, free: 27.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.4668, allocations: 350.1 kB / 0.5874 GB, free: 27.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.4684, allocations: 0.7045 MB / 0.5881 GB, free: 27.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.47, allocations: 0.8288 MB / 0.5889 GB, free: 26.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.4731, allocations: 1.505 MB / 0.5903 GB, free: 26.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4731, allocations: 4 kB / 0.5903 GB, free: 26.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01474/0.4879, allocations: 4.219 MB / 0.5945 GB, free: 25.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.4879, allocations: 6.938 kB / 0.5945 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.4879, allocations: 3.531 kB / 0.5945 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006841/0.4948, allocations: 1.795 MB / 0.5962 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.4958, allocations: 185.7 kB / 0.5964 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02262/0.5185, allocations: 9.344 MB / 0.6055 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.5203, allocations: 160.6 kB / 0.6057 GB, free: 20.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5204, allocations: 39.03 kB / 0.6057 GB, free: 20.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00194/0.5224, allocations: 0.85 MB / 0.6065 GB, free: 19.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001745/0.5241, allocations: 0.8196 MB / 0.6073 GB, free: 19.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003029/0.5272, allocations: 1.482 MB / 0.6088 GB, free: 18.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.077e-06/0.5272, allocations: 1.906 kB / 0.6088 GB, free: 18.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01382/0.541, allocations: 4.206 MB / 0.6129 GB, free: 16.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5411, allocations: 6.188 kB / 0.6129 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.5411, allocations: 4.859 kB / 0.6129 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005883/0.547, allocations: 1.795 MB / 0.6147 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.548, allocations: 183.7 kB / 0.6148 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/0.5678, allocations: 9.324 MB / 0.6239 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.5694, allocations: 151.8 kB / 0.6241 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/0.5695, allocations: 43.98 kB / 0.6241 GB, free: 5.098 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003378/0.5699, allocations: 232 kB / 0.6243 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.57, allocations: 106.7 kB / 0.6245 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/0.582, allocations: 3.908 MB / 0.6283 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.5821, allocations: 12 kB / 0.6283 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5821, allocations: 0.875 kB / 0.6283 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.5821, allocations: 12.44 kB / 0.6283 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.5974, allocations: 5.623 MB / 0.6338 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.5974, allocations: 0 / 0.6338 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.5981, allocations: 107.9 kB / 0.6339 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.6041, allocations: 1.744 MB / 0.6356 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.6043, allocations: 20.98 kB / 0.6356 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.6225, allocations: 8.098 MB / 0.6435 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6226, allocations: 4 kB / 0.6435 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/0.6373, allocations: 4.817 MB / 0.6482 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.6377, allocations: 187.6 kB / 0.6484 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.6378, allocations: 16.75 kB / 0.6484 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009898/0.6388, allocations: 100.9 kB / 0.6485 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006025/0.6395, allocations: 208.6 kB / 0.6487 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.6395, allocations: 24 kB / 0.6487 GB, free: 11.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.6402, allocations: 0.5549 MB / 0.6493 GB, free: 10.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6402, allocations: 0 / 0.6493 GB, free: 10.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001985/0.6422, allocations: 0.6866 MB / 0.65 GB, free: 10.28 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002647/0.6425, allocations: 132.7 kB / 0.6501 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01182/0.6543, allocations: 4.213 MB / 0.6542 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6543, allocations: 4.188 kB / 0.6542 GB, free: 5.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0047/0.6591, allocations: 1.552 MB / 0.6557 GB, free: 4.348 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.66, allocations: 98.64 kB / 0.6558 GB, free: 4.254 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.6638, allocations: 2.004 MB / 0.6578 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.6644, allocations: 1.077 MB / 0.6588 GB, free: 1.141 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004311/0.6648, allocations: 99.36 kB / 0.6589 GB, free: 1.043 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.665, allocations: 63.42 kB / 0.659 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6651, allocations: 0 / 0.659 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of Templates: time 0.04787/0.7129, allocations: 31.4 MB / 0.6896 GB, free: 1.77 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)