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.006063/0.006063, allocations: 170.8 kB / 15.12 MB, free: 5.555 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.364/1.364, allocations: 223.2 MB / 239 MB, free: 1.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008129/0.0008129, allocations: 103 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5467/0.5467, allocations: 78.59 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003797, allocations: 16 kB / 499.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3228, allocations: 69.34 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004976/0.3278, allocations: 5.352 MB / 0.561 GB, free: 37.99 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.3325, allocations: 1.835 MB / 0.5628 GB, free: 36.7 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.3336, allocations: 18.09 kB / 0.5628 GB, free: 36.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.3341, allocations: 147.1 kB / 0.5629 GB, free: 36.62 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.3359, allocations: 0.638 MB / 0.5636 GB, free: 36.19 MB / 426.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.00132/0.3372, allocations: 0.5326 MB / 0.5641 GB, free: 35.91 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.3389, allocations: 0.8759 MB / 0.5649 GB, free: 35.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.3393, allocations: 233.5 kB / 0.5652 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007503/0.34, allocations: 488.2 kB / 0.5656 GB, free: 35.1 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007077/0.3407, allocations: 0.597 MB / 0.5662 GB, free: 34.83 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.3409, allocations: 54.69 kB / 0.5663 GB, free: 34.83 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004605/0.3413, allocations: 164.1 kB / 0.5664 GB, free: 34.79 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.3415, allocations: 209.8 kB / 0.5666 GB, free: 34.67 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.3417, allocations: 208.4 kB / 0.5668 GB, free: 34.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009323/0.3426, allocations: 1.019 MB / 0.5678 GB, free: 34.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.3426, allocations: 1.125 kB / 0.5678 GB, free: 34.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3427, allocations: 0 / 0.5678 GB, free: 34.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3427, allocations: 0 / 0.5678 GB, free: 34.23 MB / 426.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.006999/0.3497, allocations: 2.291 MB / 0.5701 GB, free: 33.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3497, allocations: 8.906 kB / 0.5701 GB, free: 33.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.3545, allocations: 0.7798 MB / 0.5708 GB, free: 33.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.3556, allocations: 0.6989 MB / 0.5715 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.3559, allocations: 272.4 kB / 0.5718 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.356, allocations: 72.03 kB / 0.5718 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.3581, allocations: 1.16 MB / 0.573 GB, free: 31.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3581, allocations: 0 / 0.573 GB, free: 31.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.989e-05/0.3582, allocations: 29.88 kB / 0.573 GB, free: 31.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.3583, allocations: 21.77 kB / 0.573 GB, free: 31.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.3604, allocations: 1.115 MB / 0.5741 GB, free: 31.57 MB / 426.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.005446/0.3658, allocations: 3.639 MB / 0.5777 GB, free: 29.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.368, allocations: 1.541 MB / 0.5792 GB, free: 28.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.862e-05/0.3681, allocations: 13.77 kB / 0.5792 GB, free: 28.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3682, allocations: 44.67 kB / 0.5792 GB, free: 28.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 3.477e-06/0.3682, allocations: 0 / 0.5792 GB, free: 28.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02725/0.3954, allocations: 8.499 MB / 0.5875 GB, free: 27.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.3955, allocations: 87.92 kB / 0.5876 GB, free: 26.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.3967, allocations: 0.8181 MB / 0.5884 GB, free: 26.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002658/0.397, allocations: 44.77 kB / 0.5884 GB, free: 26.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.3973, allocations: 450.7 kB / 0.5889 GB, free: 26.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000428/0.3977, allocations: 323.3 kB / 0.5892 GB, free: 25.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.3979, allocations: 26.28 kB / 0.5892 GB, free: 25.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.398, allocations: 348.5 kB / 0.5895 GB, free: 25.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.3996, allocations: 0.7757 MB / 0.5903 GB, free: 25.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.4016, allocations: 0.9079 MB / 0.5912 GB, free: 24.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.4035, allocations: 0.8313 MB / 0.592 GB, free: 24.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4036, allocations: 0 / 0.592 GB, free: 24.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01525/0.4188, allocations: 5.117 MB / 0.597 GB, free: 23.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.4191, allocations: 0.8777 MB / 0.5979 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4191, allocations: 10.41 kB / 0.5979 GB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006898/0.426, allocations: 2.104 MB / 0.5999 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.4271, allocations: 210 kB / 0.6001 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/0.4511, allocations: 10 MB / 0.6099 GB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.4528, allocations: 205.6 kB / 0.6101 GB, free: 17.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.453, allocations: 42.86 kB / 0.6101 GB, free: 17.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.453, allocations: 8 kB / 0.6101 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01373/0.4668, allocations: 4.963 MB / 0.615 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4668, allocations: 4 kB / 0.615 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005938/0.4727, allocations: 2.101 MB / 0.617 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/0.4737, allocations: 195.7 kB / 0.6172 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02498/0.4987, allocations: 9.977 MB / 0.627 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.5009, allocations: 199 kB / 0.6272 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.501, allocations: 39.98 kB / 0.6272 GB, free: 0.543 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006827/0.5017, allocations: 304.9 kB / 0.6275 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.502, allocations: 106.7 kB / 0.6276 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/0.5207, allocations: 4.814 MB / 0.6323 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.5208, allocations: 8 kB / 0.6323 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5208, allocations: 4 kB / 0.6323 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/0.5209, allocations: 3.984 kB / 0.6323 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/0.5395, allocations: 6.504 MB / 0.6386 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.5396, allocations: 4 kB / 0.6387 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.5403, allocations: 111.8 kB / 0.6388 GB, free: 4.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006512/0.5469, allocations: 2.057 MB / 0.6408 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.5471, allocations: 24 kB / 0.6408 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/0.5665, allocations: 8.631 MB / 0.6492 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.5666, allocations: 4 kB / 0.6492 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.5831, allocations: 5.856 MB / 0.6549 GB, free: 3.773 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.5836, allocations: 199.5 kB / 0.6551 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.5838, allocations: 23.94 kB / 0.6552 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.5849, allocations: 139.8 kB / 0.6553 GB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005843/0.5855, allocations: 204.6 kB / 0.6555 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.495e-05/0.5856, allocations: 24 kB / 0.6555 GB, free: 3.176 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007297/0.5864, allocations: 0.5432 MB / 0.656 GB, free: 2.621 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5864, allocations: 0 / 0.656 GB, free: 2.621 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002183/0.5886, allocations: 0.6905 MB / 0.6567 GB, free: 1.93 MB / 458.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002818/0.5889, allocations: 133.5 kB / 0.6568 GB, free: 1.793 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01308/0.6019, allocations: 4.641 MB / 0.6614 GB, free: 13.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.602, allocations: 4.062 kB / 0.6614 GB, free: 13.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005215/0.6072, allocations: 1.744 MB / 0.6631 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.6082, allocations: 74.16 kB / 0.6631 GB, free: 11.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.6127, allocations: 2.454 MB / 0.6655 GB, free: 8.824 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.6133, allocations: 1.097 MB / 0.6666 GB, free: 7.695 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005868/0.6139, allocations: 102.7 kB / 0.6667 GB, free: 7.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.6142, allocations: 63.42 kB / 0.6668 GB, free: 7.527 MB / 474.7 MB Notification: Performance of SimCode: time 9.41e-07/0.6142, allocations: 0 / 0.6668 GB, free: 7.527 MB / 474.7 MB Notification: Performance of Templates: time 0.04314/0.6573, allocations: 27.08 MB / 0.6932 GB, free: 12.48 MB / 0.4948 GB 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)