Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.005382/0.005382, allocations: 100.9 kB / 15.73 MB, free: 6.066 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.315/1.315, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001571/0.001572, allocations: 196.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4517/0.4517, allocations: 78.53 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 83.8 kB / 0.5536 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3366, allocations: 68.16 MB / 0.6202 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004701/0.3413, allocations: 6.132 MB / 0.6262 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.3445, allocations: 1.864 MB / 0.628 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005557/0.3451, allocations: 8 kB / 0.628 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.3456, allocations: 210.2 kB / 0.6282 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.347, allocations: 0.6958 MB / 0.6289 GB, free: 1.449 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_Inputs_Outputs.xq <> order4_Inputs_Outputs.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3481, allocations: 0.6279 MB / 0.6295 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.3492, allocations: 1.358 MB / 0.6308 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.3496, allocations: 299.2 kB / 0.6311 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.3503, allocations: 0.5641 MB / 0.6317 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008781/0.3511, allocations: 0.6883 MB / 0.6323 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.3513, allocations: 96 kB / 0.6324 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.3518, allocations: 231.9 kB / 0.6326 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.3521, allocations: 262.8 kB / 0.6329 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.3527, allocations: 0.5864 MB / 0.6335 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.3547, allocations: 1.464 MB / 0.6349 GB, free: 11.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3547, allocations: 0 / 0.6349 GB, free: 11.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3547, allocations: 0 / 0.6349 GB, free: 11.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.3547, allocations: 0 / 0.6349 GB, free: 11.27 MB / 446.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.007696/0.3624, allocations: 2.478 MB / 0.6373 GB, free: 8.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3625, allocations: 8.031 kB / 0.6373 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004993/0.3675, allocations: 0.7797 MB / 0.6381 GB, free: 7.945 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.3689, allocations: 0.7485 MB / 0.6388 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.3692, allocations: 256.2 kB / 0.6391 GB, free: 6.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3693, allocations: 72 kB / 0.6391 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.3716, allocations: 1.11 MB / 0.6402 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3716, allocations: 4 kB / 0.6402 GB, free: 5.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.3717, allocations: 24 kB / 0.6402 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.3717, allocations: 16 kB / 0.6403 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.3741, allocations: 1.027 MB / 0.6413 GB, free: 4.605 MB / 446.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.005829/0.3799, allocations: 3.454 MB / 0.6446 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.3824, allocations: 1.436 MB / 0.646 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.3839, allocations: 0.7417 MB / 0.6468 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.384, allocations: 13 kB / 0.6468 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3841, allocations: 43.56 kB / 0.6468 GB, free: 14.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 2.314e-06/0.3841, allocations: 0 / 0.6468 GB, free: 14.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.0277/0.4118, allocations: 6.902 MB / 0.6536 GB, free: 7.691 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.4119, allocations: 86.11 kB / 0.6536 GB, free: 7.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.413, allocations: 0.8203 MB / 0.6544 GB, free: 6.746 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.4131, allocations: 41.7 kB / 0.6545 GB, free: 6.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.4134, allocations: 457.2 kB / 0.6549 GB, free: 6.246 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.4137, allocations: 345 kB / 0.6552 GB, free: 5.906 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.4141, allocations: 206.8 kB / 0.6554 GB, free: 5.695 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4143, allocations: 349.9 kB / 0.6558 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.4159, allocations: 0.7165 MB / 0.6565 GB, free: 4.629 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.4176, allocations: 0.8393 MB / 0.6573 GB, free: 3.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.4208, allocations: 1.514 MB / 0.6588 GB, free: 2.207 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.4208, allocations: 4 kB / 0.6588 GB, free: 2.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01379/0.4346, allocations: 4.238 MB / 0.6629 GB, free: 13.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.4347, allocations: 4 kB / 0.6629 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.4347, allocations: 4 kB / 0.6629 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006531/0.4413, allocations: 1.787 MB / 0.6647 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.4423, allocations: 199.7 kB / 0.6649 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/0.4643, allocations: 9.319 MB / 0.674 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4658, allocations: 167.2 kB / 0.6741 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.4659, allocations: 43.98 kB / 0.6742 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001819/0.4677, allocations: 0.8578 MB / 0.675 GB, free: 1.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001607/0.4693, allocations: 0.8237 MB / 0.6758 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00304/0.4724, allocations: 1.498 MB / 0.6773 GB, free: 15.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.4724, allocations: 0 / 0.6773 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01355/0.4859, allocations: 4.211 MB / 0.6814 GB, free: 10.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.486, allocations: 4 kB / 0.6814 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.486, allocations: 7.938 kB / 0.6814 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006368/0.4924, allocations: 1.788 MB / 0.6831 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009713/0.4934, allocations: 191.7 kB / 0.6833 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/0.5152, allocations: 9.31 MB / 0.6924 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.5166, allocations: 159.3 kB / 0.6926 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5167, allocations: 39.98 kB / 0.6926 GB, free: 15.17 MB / 0.4981 GB 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.0003048/0.517, allocations: 228.7 kB / 0.6928 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.5172, allocations: 115.2 kB / 0.6929 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.5303, allocations: 3.907 MB / 0.6967 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5304, allocations: 8 kB / 0.6967 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5304, allocations: 0 / 0.6967 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.5304, allocations: 3.984 kB / 0.6968 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.5456, allocations: 5.575 MB / 0.7022 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5456, allocations: 0 / 0.7022 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.5462, allocations: 111.8 kB / 0.7023 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/0.5521, allocations: 1.745 MB / 0.704 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.716e-05/0.5522, allocations: 16 kB / 0.704 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/0.5711, allocations: 8.065 MB / 0.7119 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5712, allocations: 0 / 0.7119 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/0.5861, allocations: 4.862 MB / 0.7166 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.5865, allocations: 196.2 kB / 0.7168 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.5867, allocations: 19.94 kB / 0.7169 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009779/0.5876, allocations: 103.9 kB / 0.717 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006286/0.5883, allocations: 200.7 kB / 0.7171 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/0.5884, allocations: 23.98 kB / 0.7172 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006928/0.5891, allocations: 0.5549 MB / 0.7177 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5891, allocations: 4 kB / 0.7177 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001875/0.591, allocations: 0.6946 MB / 0.7184 GB, free: 4.391 MB / 0.5137 GB 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.0002807/0.5912, allocations: 129.1 kB / 0.7185 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0116/0.6028, allocations: 4.212 MB / 0.7226 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6029, allocations: 0 / 0.7226 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004658/0.6076, allocations: 1.558 MB / 0.7241 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000799/0.6084, allocations: 79.44 kB / 0.7242 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.6125, allocations: 2.095 MB / 0.7263 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.6131, allocations: 1.077 MB / 0.7273 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004481/0.6136, allocations: 102.7 kB / 0.7274 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.6138, allocations: 59.44 kB / 0.7275 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of SimCode: time 7.81e-07/0.6138, allocations: 4 kB / 0.7275 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.04561/0.6594, allocations: 31.6 MB / 0.7583 GB, free: 11.37 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)