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.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.24/1.24, allocations: 222.9 MB / 238.9 MB, free: 4.738 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.001395/0.001395, allocations: 184.5 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4423/0.4423, allocations: 78.51 MB / 417.8 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.89 kB / 496.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1168, allocations: 68.17 MB / 0.5517 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.213/0.3298, allocations: 6.455 MB / 0.558 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.3325, allocations: 1.912 MB / 0.5599 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.3329, allocations: 13.09 kB / 0.5599 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.3333, allocations: 171.8 kB / 0.56 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.3345, allocations: 0.616 MB / 0.5606 GB, free: 35.57 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.001007/0.3355, allocations: 0.5862 MB / 0.5612 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008657/0.3364, allocations: 1.292 MB / 0.5625 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.3367, allocations: 259.1 kB / 0.5627 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.3371, allocations: 0.5124 MB / 0.5632 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.3376, allocations: 0.6588 MB / 0.5639 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3377, allocations: 61.62 kB / 0.5639 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.3381, allocations: 193.5 kB / 0.5641 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3382, allocations: 232.3 kB / 0.5643 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.3385, allocations: 0.545 MB / 0.5649 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008901/0.3394, allocations: 1.4 MB / 0.5662 GB, free: 34.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3395, allocations: 0.9062 kB / 0.5662 GB, free: 34.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.3395, allocations: 0 / 0.5662 GB, free: 34.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.3395, allocations: 0 / 0.5662 GB, free: 34.49 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.006767/0.3463, allocations: 2.454 MB / 0.5686 GB, free: 33.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3463, allocations: 7.906 kB / 0.5686 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.3509, allocations: 0.7593 MB / 0.5694 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3519, allocations: 0.7382 MB / 0.5701 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.3522, allocations: 260.3 kB / 0.5703 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.3523, allocations: 76.5 kB / 0.5704 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.3543, allocations: 1.094 MB / 0.5715 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.3543, allocations: 0 / 0.5715 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.3544, allocations: 32.91 kB / 0.5715 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.3544, allocations: 18.91 kB / 0.5715 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.3563, allocations: 1.027 MB / 0.5725 GB, free: 32.91 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.005199/0.3616, allocations: 3.473 MB / 0.5759 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.3635, allocations: 1.431 MB / 0.5773 GB, free: 31.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.3648, allocations: 0.7399 MB / 0.5781 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3649, allocations: 19.59 kB / 0.5781 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3649, allocations: 42 kB / 0.5781 GB, free: 30.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.386e-06/0.365, allocations: 4 kB / 0.5781 GB, free: 30.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02471/0.3897, allocations: 6.89 MB / 0.5848 GB, free: 29.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3898, allocations: 88.11 kB / 0.5849 GB, free: 29.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3908, allocations: 0.8277 MB / 0.5857 GB, free: 29.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.391, allocations: 41.39 kB / 0.5858 GB, free: 29.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.3912, allocations: 445.6 kB / 0.5862 GB, free: 28.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.3915, allocations: 326.1 kB / 0.5865 GB, free: 28.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.3919, allocations: 207 kB / 0.5867 GB, free: 28.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.392, allocations: 345.5 kB / 0.587 GB, free: 28.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.3935, allocations: 0.717 MB / 0.5877 GB, free: 27.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.3951, allocations: 0.8409 MB / 0.5886 GB, free: 27.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002881/0.398, allocations: 1.517 MB / 0.59 GB, free: 26.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.398, allocations: 0.9062 kB / 0.59 GB, free: 26.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01338/0.4114, allocations: 4.23 MB / 0.5942 GB, free: 25.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.4114, allocations: 6 kB / 0.5942 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.4115, allocations: 6.156 kB / 0.5942 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006072/0.4175, allocations: 1.786 MB / 0.5959 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.4186, allocations: 192.6 kB / 0.5961 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/0.438, allocations: 8.573 MB / 0.6045 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.4395, allocations: 171.8 kB / 0.6046 GB, free: 21.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.4397, allocations: 40.66 kB / 0.6047 GB, free: 21.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001687/0.4414, allocations: 0.8597 MB / 0.6055 GB, free: 20.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001448/0.4428, allocations: 0.8289 MB / 0.6063 GB, free: 20.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002759/0.4456, allocations: 1.5 MB / 0.6078 GB, free: 19.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.224e-05/0.4456, allocations: 1.406 kB / 0.6078 GB, free: 19.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01197/0.4576, allocations: 4.209 MB / 0.6119 GB, free: 17.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4576, allocations: 6.031 kB / 0.6119 GB, free: 17.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4576, allocations: 4 kB / 0.6119 GB, free: 17.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005279/0.4629, allocations: 1.791 MB / 0.6137 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.4638, allocations: 191.7 kB / 0.6139 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/0.4804, allocations: 8.556 MB / 0.6222 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4818, allocations: 149 kB / 0.6223 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.482, allocations: 44.67 kB / 0.6224 GB, free: 6.602 MB / 430.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.0002966/0.4823, allocations: 236 kB / 0.6226 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.4825, allocations: 106.7 kB / 0.6227 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.4936, allocations: 3.907 MB / 0.6265 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.4936, allocations: 12.8 kB / 0.6265 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4936, allocations: 0 / 0.6265 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.4937, allocations: 7.984 kB / 0.6266 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.5079, allocations: 5.569 MB / 0.632 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.508, allocations: 4.625 kB / 0.632 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.5087, allocations: 103.9 kB / 0.6321 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005563/0.5143, allocations: 1.749 MB / 0.6338 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/0.5145, allocations: 20 kB / 0.6338 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.5316, allocations: 7.341 MB / 0.641 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5317, allocations: 0 / 0.641 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/0.5458, allocations: 4.858 MB / 0.6457 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.5462, allocations: 195.5 kB / 0.6459 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.5465, allocations: 16 kB / 0.6459 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.5476, allocations: 95.89 kB / 0.646 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006925/0.5483, allocations: 208.5 kB / 0.6462 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.5484, allocations: 21.5 kB / 0.6462 GB, free: 13.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007934/0.5492, allocations: 0.5511 MB / 0.6468 GB, free: 13.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5492, allocations: 0 / 0.6468 GB, free: 13.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002313/0.5515, allocations: 0.6866 MB / 0.6475 GB, free: 12.57 MB / 462.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.0002943/0.5518, allocations: 139 kB / 0.6476 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01136/0.5632, allocations: 4.107 MB / 0.6516 GB, free: 8.312 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5632, allocations: 0 / 0.6516 GB, free: 8.312 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004601/0.5679, allocations: 1.518 MB / 0.6531 GB, free: 6.781 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.569, allocations: 91.34 kB / 0.6532 GB, free: 6.691 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.5736, allocations: 2.441 MB / 0.6556 GB, free: 4.254 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.5743, allocations: 1.078 MB / 0.6566 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005773/0.5749, allocations: 102.4 kB / 0.6567 GB, free: 3.047 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.5752, allocations: 59.42 kB / 0.6568 GB, free: 2.988 MB / 462.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5752, allocations: 4 kB / 0.6568 GB, free: 2.984 MB / 462.1 MB Notification: Performance of Templates: time 0.04134/0.6165, allocations: 28.54 MB / 0.6846 GB, free: 6.617 MB / 494.1 MB 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)