Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001439, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.347/1.347, allocations: 222.9 MB / 238.9 MB, free: 4.742 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.00141/0.00141, allocations: 196.4 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5083/0.5083, allocations: 91.89 MB / 431.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 80.16 kB / 0.5012 GB, free: 8.156 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3497, allocations: 71.28 MB / 0.5708 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.008687/0.3584, allocations: 6.478 MB / 0.5771 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.364, allocations: 1.94 MB / 0.579 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.3654, allocations: 13 kB / 0.579 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.3666, allocations: 164.2 kB / 0.5792 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.3706, allocations: 0.6195 MB / 0.5798 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.3733, allocations: 0.6035 MB / 0.5804 GB, free: 30.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002796/0.3761, allocations: 1.292 MB / 0.5817 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.3769, allocations: 260.2 kB / 0.5819 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.3781, allocations: 0.5099 MB / 0.5824 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.3795, allocations: 0.6569 MB / 0.583 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.3799, allocations: 61.31 kB / 0.5831 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.3809, allocations: 201.6 kB / 0.5833 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.3814, allocations: 226.5 kB / 0.5835 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.3824, allocations: 0.548 MB / 0.584 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.3846, allocations: 1.401 MB / 0.5854 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3846, allocations: 9.812 kB / 0.5854 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3846, allocations: 0 / 0.5854 GB, free: 28.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.793e-05/0.3847, allocations: 0 / 0.5854 GB, free: 28.45 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.01451/0.3992, allocations: 2.433 MB / 0.5878 GB, free: 27.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/0.3993, allocations: 9.594 kB / 0.5878 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.4095, allocations: 0.7675 MB / 0.5886 GB, free: 27.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.412, allocations: 0.735 MB / 0.5893 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004972/0.4126, allocations: 254.4 kB / 0.5895 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004377/0.413, allocations: 73.47 kB / 0.5896 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004559/0.4176, allocations: 1.1 MB / 0.5907 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.4177, allocations: 0 / 0.5907 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.4179, allocations: 29.97 kB / 0.5907 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.4179, allocations: 17.12 kB / 0.5907 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004295/0.4223, allocations: 1.024 MB / 0.5917 GB, free: 25.66 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.01079/0.4331, allocations: 3.496 MB / 0.5951 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004077/0.4372, allocations: 1.439 MB / 0.5965 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.4401, allocations: 0.7421 MB / 0.5972 GB, free: 22.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.4403, allocations: 10.91 kB / 0.5973 GB, free: 22.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4403, allocations: 46.03 kB / 0.5973 GB, free: 22.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 5.47e-06/0.4403, allocations: 3.984 kB / 0.5973 GB, free: 22.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03259/0.4729, allocations: 6.896 MB / 0.604 GB, free: 21.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.473, allocations: 87.61 kB / 0.6041 GB, free: 21.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.4744, allocations: 0.8223 MB / 0.6049 GB, free: 20.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.4746, allocations: 45.11 kB / 0.605 GB, free: 20.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.4749, allocations: 450.9 kB / 0.6054 GB, free: 20.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.4753, allocations: 328.3 kB / 0.6057 GB, free: 20.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004928/0.4758, allocations: 201.9 kB / 0.6059 GB, free: 19.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.4759, allocations: 354.8 kB / 0.6062 GB, free: 19.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.4775, allocations: 0.7108 MB / 0.6069 GB, free: 19.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.4792, allocations: 0.8348 MB / 0.6078 GB, free: 18.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.4825, allocations: 1.516 MB / 0.6092 GB, free: 18.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.4825, allocations: 1.641 kB / 0.6092 GB, free: 18.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01462/0.4971, allocations: 4.235 MB / 0.6134 GB, free: 17.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4972, allocations: 6.688 kB / 0.6134 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.4972, allocations: 2.156 kB / 0.6134 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00622/0.5034, allocations: 1.779 MB / 0.6151 GB, free: 16.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5045, allocations: 191.8 kB / 0.6153 GB, free: 16.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.5232, allocations: 8.577 MB / 0.6237 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.5248, allocations: 170.8 kB / 0.6238 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.525, allocations: 39.98 kB / 0.6239 GB, free: 8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001694/0.5267, allocations: 0.8539 MB / 0.6247 GB, free: 7.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001377/0.5281, allocations: 0.8353 MB / 0.6255 GB, free: 6.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002607/0.5308, allocations: 1.494 MB / 0.627 GB, free: 4.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.17e-06/0.5308, allocations: 0 / 0.627 GB, free: 4.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.0122/0.543, allocations: 4.214 MB / 0.6311 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.543, allocations: 4 kB / 0.6311 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.543, allocations: 4 kB / 0.6311 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006219/0.5493, allocations: 1.78 MB / 0.6328 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.5503, allocations: 199.7 kB / 0.633 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.5708, allocations: 8.559 MB / 0.6414 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.5726, allocations: 151.1 kB / 0.6415 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.5729, allocations: 39.98 kB / 0.6416 GB, free: 5.641 MB / 446.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 (110): * Single equations (assignments): 109 * 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.0004995/0.5734, allocations: 236.9 kB / 0.6418 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/0.5738, allocations: 106.7 kB / 0.6419 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.5872, allocations: 3.904 MB / 0.6457 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.5872, allocations: 11.98 kB / 0.6457 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5872, allocations: 0 / 0.6457 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.5873, allocations: 7.969 kB / 0.6457 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.6027, allocations: 5.54 MB / 0.6511 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.6028, allocations: 4.031 kB / 0.6512 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.6035, allocations: 111.8 kB / 0.6513 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005728/0.6092, allocations: 1.745 MB / 0.653 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/0.6094, allocations: 19.98 kB / 0.653 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/0.6264, allocations: 7.343 MB / 0.6602 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6265, allocations: 0 / 0.6602 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.6412, allocations: 4.864 MB / 0.6649 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.6416, allocations: 191.5 kB / 0.6651 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.6418, allocations: 16 kB / 0.6651 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009841/0.6428, allocations: 103.9 kB / 0.6652 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006506/0.6435, allocations: 204.5 kB / 0.6654 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/0.6435, allocations: 23.98 kB / 0.6654 GB, free: 12.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006972/0.6442, allocations: 0.5471 MB / 0.6659 GB, free: 12.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6443, allocations: 3.938 kB / 0.666 GB, free: 12.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001959/0.6462, allocations: 0.6906 MB / 0.6666 GB, free: 11.62 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * 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 (57): * Single equations (assignments): 56 * 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.0002753/0.6465, allocations: 135.1 kB / 0.6668 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/0.6581, allocations: 4.107 MB / 0.6708 GB, free: 7.352 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.6581, allocations: 0 / 0.6708 GB, free: 7.352 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004704/0.6628, allocations: 1.517 MB / 0.6722 GB, free: 5.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.6638, allocations: 89.77 kB / 0.6723 GB, free: 5.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.6686, allocations: 2.425 MB / 0.6747 GB, free: 3.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.6693, allocations: 1.078 MB / 0.6758 GB, free: 2.172 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005717/0.6699, allocations: 102.7 kB / 0.6759 GB, free: 2.066 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.6702, allocations: 63.42 kB / 0.6759 GB, free: 2.004 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6702, allocations: 0 / 0.6759 GB, free: 2.004 MB / 478.1 MB Notification: Performance of Templates: time 0.04406/0.7143, allocations: 28.53 MB / 0.7038 GB, free: 5.512 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)