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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 182.8 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 112.7 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4325/0.4325, allocations: 78.51 MB / 418.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 497.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2705, allocations: 68.16 MB / 0.5524 GB, free: 19.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.004917/0.2754, allocations: 6.418 MB / 0.5587 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.2783, allocations: 1.907 MB / 0.5605 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.2786, allocations: 15.94 kB / 0.5606 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.279, allocations: 155 kB / 0.5607 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.2801, allocations: 0.6377 MB / 0.5613 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009186/0.2811, allocations: 0.5781 MB / 0.5619 GB, free: 10.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007493/0.2818, allocations: 1.307 MB / 0.5632 GB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.2821, allocations: 259.7 kB / 0.5634 GB, free: 8.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.2825, allocations: 0.521 MB / 0.5639 GB, free: 8.055 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.2829, allocations: 0.6571 MB / 0.5646 GB, free: 7.395 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.283, allocations: 64 kB / 0.5646 GB, free: 7.332 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.2834, allocations: 191.9 kB / 0.5648 GB, free: 7.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.2835, allocations: 226.8 kB / 0.565 GB, free: 6.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.2838, allocations: 0.5513 MB / 0.5656 GB, free: 6.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008053/0.2847, allocations: 1.395 MB / 0.5669 GB, free: 4.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.2847, allocations: 0 / 0.5669 GB, free: 4.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2847, allocations: 0 / 0.5669 GB, free: 4.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.2847, allocations: 4 kB / 0.5669 GB, free: 4.965 MB / 378.7 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.006558/0.2913, allocations: 2.442 MB / 0.5693 GB, free: 2.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2913, allocations: 8.031 kB / 0.5693 GB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.2956, allocations: 0.7672 MB / 0.5701 GB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/0.2964, allocations: 0.7322 MB / 0.5708 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.2966, allocations: 264 kB / 0.571 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.2967, allocations: 83.91 kB / 0.5711 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.2986, allocations: 1.09 MB / 0.5722 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2986, allocations: 0 / 0.5722 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.2987, allocations: 28 kB / 0.5722 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.2988, allocations: 20 kB / 0.5722 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.3008, allocations: 1.023 MB / 0.5732 GB, free: 14.37 MB / 394.7 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.005519/0.3063, allocations: 3.519 MB / 0.5767 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.3088, allocations: 1.443 MB / 0.5781 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.3102, allocations: 0.7455 MB / 0.5788 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.3103, allocations: 16.98 kB / 0.5788 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3103, allocations: 43.56 kB / 0.5789 GB, free: 8.305 MB / 394.7 MB Notification: Performance of pre-optimization done (n=89): time 2.785e-06/0.3104, allocations: 0 / 0.5789 GB, free: 8.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=89): time 0.0246/0.335, allocations: 6.434 MB / 0.5851 GB, free: 1.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.3351, allocations: 94.11 kB / 0.5852 GB, free: 1.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3361, allocations: 0.8241 MB / 0.586 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.359e-05/0.3362, allocations: 41.7 kB / 0.5861 GB, free: 0.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.3366, allocations: 452.6 kB / 0.5865 GB, free: 392 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.3369, allocations: 323.4 kB / 0.5868 GB, free: 64 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.3373, allocations: 202.8 kB / 0.587 GB, free: 15.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3374, allocations: 345.9 kB / 0.5873 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.3389, allocations: 0.7009 MB / 0.588 GB, free: 14.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.3405, allocations: 0.8315 MB / 0.5888 GB, free: 13.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002987/0.3435, allocations: 1.514 MB / 0.5903 GB, free: 12.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3435, allocations: 0 / 0.5903 GB, free: 12.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.0135/0.357, allocations: 4.218 MB / 0.5944 GB, free: 8.168 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3571, allocations: 4 kB / 0.5944 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3571, allocations: 8 kB / 0.5944 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006306/0.3634, allocations: 1.776 MB / 0.5962 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/0.3643, allocations: 191.7 kB / 0.5964 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.3843, allocations: 8.596 MB / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.3857, allocations: 163 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-05/0.3859, allocations: 43.92 kB / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001889/0.3877, allocations: 0.8461 MB / 0.6058 GB, free: 12.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001584/0.3893, allocations: 0.8237 MB / 0.6066 GB, free: 11.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002912/0.3923, allocations: 1.486 MB / 0.608 GB, free: 10.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.3923, allocations: 0 / 0.608 GB, free: 10.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01323/0.4055, allocations: 4.202 MB / 0.6121 GB, free: 5.809 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4055, allocations: 4 kB / 0.6121 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4056, allocations: 4 kB / 0.6121 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005955/0.4115, allocations: 1.78 MB / 0.6139 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/0.4124, allocations: 187.7 kB / 0.6141 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/0.4322, allocations: 8.576 MB / 0.6224 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.4336, allocations: 162.9 kB / 0.6226 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.4337, allocations: 43.98 kB / 0.6226 GB, free: 10.92 MB / 442.7 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.0002811/0.434, allocations: 228.1 kB / 0.6229 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.4342, allocations: 102.7 kB / 0.623 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.4468, allocations: 3.919 MB / 0.6268 GB, free: 6.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4468, allocations: 12 kB / 0.6268 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4468, allocations: 0 / 0.6268 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.4468, allocations: 3.984 kB / 0.6268 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.461, allocations: 5.625 MB / 0.6323 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.461, allocations: 0 / 0.6323 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.4616, allocations: 107.9 kB / 0.6324 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005574/0.4672, allocations: 1.741 MB / 0.6341 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/0.4673, allocations: 19.98 kB / 0.6341 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/0.4837, allocations: 7.355 MB / 0.6413 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4837, allocations: 0 / 0.6413 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08714/0.5708, allocations: 31.82 MB / 0.6724 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.5711, allocations: 195.5 kB / 0.6726 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.5714, allocations: 16 kB / 0.6726 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.5724, allocations: 99.81 kB / 0.6727 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006437/0.5731, allocations: 204.6 kB / 0.6729 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.5732, allocations: 24 kB / 0.6729 GB, free: 6.785 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000707/0.5739, allocations: 0.5589 MB / 0.6734 GB, free: 6.215 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5739, allocations: 0 / 0.6734 GB, free: 6.215 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002579/0.5765, allocations: 1.007 MB / 0.6744 GB, free: 5.207 MB / 490.7 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.0002655/0.5768, allocations: 124.7 kB / 0.6745 GB, free: 5.074 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0112/0.588, allocations: 4.095 MB / 0.6785 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.588, allocations: 0 / 0.6785 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2258/0.8138, allocations: 1.507 MB / 0.68 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009591/0.8148, allocations: 87.27 kB / 0.6801 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008031/0.8229, allocations: 3.67 MB / 0.6837 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008452/0.8237, allocations: 1.115 MB / 0.6848 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005899/0.8243, allocations: 107.3 kB / 0.6849 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.8246, allocations: 58.39 kB / 0.6849 GB, free: 114.5 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.8246, allocations: 0 / 0.6849 GB, free: 114.5 MB / 490.7 MB Notification: Performance of Templates: time 0.04698/0.8716, allocations: 38.94 MB / 0.7229 GB, free: 86.2 MB / 490.7 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)