Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.331/1.331, allocations: 222.9 MB / 239 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.001342/0.001342, allocations: 188.5 kB / 289.3 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.4762/0.4762, allocations: 78.53 MB / 417.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 75.89 kB / 496.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1465, allocations: 68.17 MB / 0.5519 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.1987/0.3452, allocations: 6.421 MB / 0.5581 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.3483, allocations: 1.889 MB / 0.56 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.3487, allocations: 13.12 kB / 0.56 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.3491, allocations: 165.1 kB / 0.5602 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.3504, allocations: 0.6198 MB / 0.5608 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3514, allocations: 0.5724 MB / 0.5613 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.3525, allocations: 1.344 MB / 0.5626 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.3528, allocations: 286.6 kB / 0.5629 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.3533, allocations: 0.5626 MB / 0.5635 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.3538, allocations: 0.689 MB / 0.5641 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.3539, allocations: 99.28 kB / 0.5642 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.3542, allocations: 230.1 kB / 0.5644 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.3544, allocations: 270.4 kB / 0.5647 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.3548, allocations: 0.5864 MB / 0.5653 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00097/0.3557, allocations: 1.443 MB / 0.5667 GB, free: 34.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3557, allocations: 0 / 0.5667 GB, free: 34.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3557, allocations: 0 / 0.5667 GB, free: 34.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3558, allocations: 1.031 kB / 0.5667 GB, free: 34.34 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006533/0.3623, allocations: 2.442 MB / 0.5691 GB, free: 33.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3624, allocations: 12.31 kB / 0.5691 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/0.3668, allocations: 0.7675 MB / 0.5698 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008359/0.3676, allocations: 0.74 MB / 0.5705 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.3678, allocations: 253.4 kB / 0.5708 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.368, allocations: 79.09 kB / 0.5709 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.3698, allocations: 1.091 MB / 0.5719 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3698, allocations: 1.594 kB / 0.5719 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.3699, allocations: 28.66 kB / 0.572 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3699, allocations: 19.25 kB / 0.572 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.3717, allocations: 1.026 MB / 0.573 GB, free: 32.77 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.004672/0.3764, allocations: 3.517 MB / 0.5764 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.3783, allocations: 1.442 MB / 0.5778 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.3795, allocations: 0.7417 MB / 0.5785 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.3796, allocations: 16.95 kB / 0.5786 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.3796, allocations: 49.97 kB / 0.5786 GB, free: 30.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.555e-06/0.3797, allocations: 0 / 0.5786 GB, free: 30.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02322/0.4029, allocations: 6.426 MB / 0.5849 GB, free: 29.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.403, allocations: 94.08 kB / 0.585 GB, free: 29.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.404, allocations: 0.8282 MB / 0.5858 GB, free: 28.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002018/0.4043, allocations: 44.69 kB / 0.5858 GB, free: 28.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4045, allocations: 452.7 kB / 0.5863 GB, free: 28.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.4048, allocations: 321.5 kB / 0.5866 GB, free: 28.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/0.4052, allocations: 199.5 kB / 0.5868 GB, free: 27.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.4052, allocations: 349.6 kB / 0.5871 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.4067, allocations: 0.7051 MB / 0.5878 GB, free: 27.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.4082, allocations: 0.8323 MB / 0.5886 GB, free: 27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.4111, allocations: 1.503 MB / 0.5901 GB, free: 26.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.4111, allocations: 0 / 0.5901 GB, free: 26.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01357/0.4247, allocations: 4.215 MB / 0.5942 GB, free: 25.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.4248, allocations: 6.828 kB / 0.5942 GB, free: 25.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4248, allocations: 2.75 kB / 0.5942 GB, free: 25.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006415/0.4312, allocations: 1.797 MB / 0.5959 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.4323, allocations: 189.9 kB / 0.5961 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02169/0.454, allocations: 9.335 MB / 0.6052 GB, free: 20.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.4557, allocations: 166.8 kB / 0.6054 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.4558, allocations: 38.7 kB / 0.6054 GB, free: 20.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001681/0.4575, allocations: 0.8497 MB / 0.6063 GB, free: 20.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001478/0.459, allocations: 0.8163 MB / 0.6071 GB, free: 19.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002882/0.4618, allocations: 1.487 MB / 0.6085 GB, free: 19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.53e-06/0.4619, allocations: 0 / 0.6085 GB, free: 19 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01254/0.4744, allocations: 4.198 MB / 0.6126 GB, free: 16.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4745, allocations: 15.92 kB / 0.6126 GB, free: 16.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4745, allocations: 4 kB / 0.6126 GB, free: 16.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005473/0.48, allocations: 1.787 MB / 0.6144 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/0.4809, allocations: 183.8 kB / 0.6145 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.4991, allocations: 9.332 MB / 0.6237 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.5006, allocations: 155 kB / 0.6238 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/0.5007, allocations: 35.98 kB / 0.6238 GB, free: 5.227 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 (106): * Single equations (assignments): 105 * 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.0003049/0.501, allocations: 240 kB / 0.6241 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.5012, allocations: 106.7 kB / 0.6242 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.5123, allocations: 3.909 MB / 0.628 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.5123, allocations: 9.406 kB / 0.628 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5123, allocations: 7.938 kB / 0.628 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.5124, allocations: 8.953 kB / 0.628 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.5271, allocations: 5.616 MB / 0.6335 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.5272, allocations: 3.938 kB / 0.6335 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/0.5279, allocations: 108.7 kB / 0.6336 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/0.5335, allocations: 1.748 MB / 0.6353 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/0.5336, allocations: 19.98 kB / 0.6353 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/0.552, allocations: 8.098 MB / 0.6432 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.552, allocations: 0 / 0.6432 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.5662, allocations: 4.817 MB / 0.6479 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/0.5666, allocations: 196.3 kB / 0.6481 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.5668, allocations: 16 kB / 0.6481 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009632/0.5678, allocations: 95.89 kB / 0.6482 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006305/0.5684, allocations: 208.6 kB / 0.6484 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.5685, allocations: 24.33 kB / 0.6485 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006418/0.5692, allocations: 0.5628 MB / 0.649 GB, free: 11.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5692, allocations: 0 / 0.649 GB, free: 11.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001841/0.571, allocations: 0.6788 MB / 0.6497 GB, free: 10.39 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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 (56): * Single equations (assignments): 55 * 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.0002661/0.5713, allocations: 136.4 kB / 0.6498 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01118/0.5825, allocations: 4.219 MB / 0.6539 GB, free: 6.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5825, allocations: 0 / 0.6539 GB, free: 6.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004339/0.5868, allocations: 1.545 MB / 0.6554 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/0.5877, allocations: 92.89 kB / 0.6555 GB, free: 4.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.5915, allocations: 2.385 MB / 0.6579 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.5922, allocations: 1.081 MB / 0.6589 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004808/0.5927, allocations: 102.6 kB / 0.659 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.5929, allocations: 63.42 kB / 0.6591 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5929, allocations: 0 / 0.6591 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of Templates: time 0.0418/0.6347, allocations: 30.34 MB / 0.6887 GB, free: 2.59 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)