Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.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 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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 174 kB / 16.1 MB, free: 5.691 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.393/1.393, allocations: 223.3 MB / 240.1 MB, free: 9.957 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.001035/0.001035, allocations: 99.66 kB / 291.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5004/0.5004, allocations: 78.62 MB / 421 MB, free: 9.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004439, allocations: 12 kB / 0.4894 GB, free: 9.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3597, allocations: 69.35 MB / 0.5571 GB, free: 18.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005625/0.3654, allocations: 6.009 MB / 0.563 GB, free: 12.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003999/0.3694, allocations: 1.888 MB / 0.5648 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.3706, allocations: 15.94 kB / 0.5649 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.3714, allocations: 162.9 kB / 0.565 GB, free: 10.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.3736, allocations: 0.6204 MB / 0.5656 GB, free: 10.1 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001394/0.375, allocations: 0.5909 MB / 0.5662 GB, free: 9.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.3766, allocations: 1.288 MB / 0.5675 GB, free: 8.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/0.377, allocations: 259.7 kB / 0.5677 GB, free: 7.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009431/0.378, allocations: 0.4937 MB / 0.5682 GB, free: 7.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008786/0.3789, allocations: 0.6297 MB / 0.5688 GB, free: 6.824 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.3791, allocations: 52 kB / 0.5689 GB, free: 6.773 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.3798, allocations: 179.9 kB / 0.569 GB, free: 6.598 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.38, allocations: 218.8 kB / 0.5692 GB, free: 6.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.3807, allocations: 0.5491 MB / 0.5698 GB, free: 5.824 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3817, allocations: 1.069 MB / 0.5708 GB, free: 4.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3817, allocations: 4 kB / 0.5708 GB, free: 4.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3817, allocations: 0 / 0.5708 GB, free: 4.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.54e-05/0.3818, allocations: 0 / 0.5708 GB, free: 4.75 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.007003/0.3888, allocations: 2.271 MB / 0.573 GB, free: 2.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3888, allocations: 8.031 kB / 0.573 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/0.3935, allocations: 0.7789 MB / 0.5738 GB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.3948, allocations: 0.736 MB / 0.5745 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.3951, allocations: 272.1 kB / 0.5748 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.3953, allocations: 75.91 kB / 0.5749 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.3977, allocations: 1.172 MB / 0.576 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.3977, allocations: 0 / 0.576 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.31e-05/0.3978, allocations: 32 kB / 0.576 GB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3978, allocations: 16 kB / 0.576 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.4003, allocations: 1.124 MB / 0.5771 GB, free: 14.12 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.006736/0.407, allocations: 3.539 MB / 0.5806 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.4096, allocations: 1.544 MB / 0.5821 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.4113, allocations: 0.8237 MB / 0.5829 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.4114, allocations: 9 kB / 0.5829 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4114, allocations: 47.55 kB / 0.583 GB, free: 7.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 2.394e-06/0.4115, allocations: 4 kB / 0.583 GB, free: 7.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=90): time 0.02767/0.4391, allocations: 8.554 MB / 0.5913 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.4393, allocations: 86.11 kB / 0.5914 GB, free: 15.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.4406, allocations: 0.8241 MB / 0.5922 GB, free: 14.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.4409, allocations: 37.7 kB / 0.5922 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.4413, allocations: 452.6 kB / 0.5927 GB, free: 13.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000481/0.4418, allocations: 323.4 kB / 0.593 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.442, allocations: 105.7 kB / 0.5931 GB, free: 13.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.4423, allocations: 349.9 kB / 0.5934 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.4441, allocations: 0.7834 MB / 0.5942 GB, free: 12.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.4459, allocations: 0.9213 MB / 0.5951 GB, free: 11.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/0.4494, allocations: 1.67 MB / 0.5967 GB, free: 9.625 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.4495, allocations: 4 kB / 0.5967 GB, free: 9.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01462/0.4641, allocations: 5.163 MB / 0.6018 GB, free: 4.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.4643, allocations: 156.2 kB / 0.6019 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.4643, allocations: 4 kB / 0.6019 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006611/0.4709, allocations: 2.089 MB / 0.604 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4719, allocations: 203.7 kB / 0.6041 GB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/0.4937, allocations: 9.576 MB / 0.6135 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.4953, allocations: 206.9 kB / 0.6137 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.4956, allocations: 43.98 kB / 0.6137 GB, free: 8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4956, allocations: 7.938 kB / 0.6137 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01457/0.5102, allocations: 4.999 MB / 0.6186 GB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.5103, allocations: 4 kB / 0.6186 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006685/0.517, allocations: 2.097 MB / 0.6207 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.5181, allocations: 195.7 kB / 0.6209 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/0.5399, allocations: 9.534 MB / 0.6302 GB, free: 7.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.5415, allocations: 187.2 kB / 0.6304 GB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.5418, allocations: 39.98 kB / 0.6304 GB, free: 6.793 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 (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.0007841/0.5426, allocations: 312.8 kB / 0.6307 GB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.543, allocations: 106.7 kB / 0.6308 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/0.56, allocations: 4.822 MB / 0.6355 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/0.5601, allocations: 11.94 kB / 0.6355 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.5601, allocations: 4 kB / 0.6355 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.054e-05/0.5602, allocations: 3.984 kB / 0.6355 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/0.5815, allocations: 6.505 MB / 0.6419 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5815, allocations: 0 / 0.6419 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/0.5823, allocations: 123.9 kB / 0.642 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006178/0.5885, allocations: 2.053 MB / 0.644 GB, free: 8.691 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.5888, allocations: 19.94 kB / 0.644 GB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/0.6078, allocations: 8.203 MB / 0.652 GB, free: 336 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.6079, allocations: 7.984 kB / 0.652 GB, free: 328 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.6239, allocations: 5.852 MB / 0.6577 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/0.6244, allocations: 199.5 kB / 0.6579 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/0.6248, allocations: 16 kB / 0.658 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.6259, allocations: 139.9 kB / 0.6581 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007687/0.6267, allocations: 204.6 kB / 0.6583 GB, free: 9.871 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6269, allocations: 23.94 kB / 0.6583 GB, free: 9.848 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008748/0.6277, allocations: 0.5549 MB / 0.6588 GB, free: 9.281 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6278, allocations: 0 / 0.6588 GB, free: 9.281 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002496/0.6303, allocations: 0.6906 MB / 0.6595 GB, free: 8.59 MB / 474.7 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.0003035/0.6306, allocations: 123.2 kB / 0.6596 GB, free: 8.457 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01257/0.6432, allocations: 4.649 MB / 0.6642 GB, free: 3.785 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.6432, allocations: 0 / 0.6642 GB, free: 3.785 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004953/0.6482, allocations: 1.753 MB / 0.6659 GB, free: 2.016 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6494, allocations: 79.44 kB / 0.666 GB, free: 1.938 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.6546, allocations: 2.573 MB / 0.6685 GB, free: 15.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.6557, allocations: 1.078 MB / 0.6695 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/0.6561, allocations: 67.42 kB / 0.6696 GB, free: 14.15 MB / 490.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6561, allocations: 0 / 0.6696 GB, free: 14.15 MB / 490.7 MB Notification: Performance of Templates: time 0.281/0.9372, allocations: 20.01 MB / 0.6891 GB, free: 116.4 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)