Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001184/0.001184, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.322/1.322, allocations: 222.9 MB / 239 MB, free: 4.762 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.001269/0.001269, allocations: 200.3 kB / 289.3 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4983/0.4983, allocations: 91.9 MB / 431.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 75.89 kB / 0.5014 GB, free: 8.121 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3573, allocations: 71.26 MB / 0.571 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.006097/0.3635, allocations: 6.452 MB / 0.5773 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.3672, allocations: 1.9 MB / 0.5791 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009759/0.3682, allocations: 10.28 kB / 0.5791 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005716/0.3688, allocations: 168.1 kB / 0.5793 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.3704, allocations: 0.6075 MB / 0.5799 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.3717, allocations: 0.59 MB / 0.5805 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.3729, allocations: 1.337 MB / 0.5818 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.3733, allocations: 292.3 kB / 0.582 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000615/0.3739, allocations: 0.5627 MB / 0.5826 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.3745, allocations: 0.6847 MB / 0.5833 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.3746, allocations: 101.3 kB / 0.5834 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.375, allocations: 237.6 kB / 0.5836 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3752, allocations: 265.8 kB / 0.5838 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.3755, allocations: 0.5852 MB / 0.5844 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.3767, allocations: 1.438 MB / 0.5858 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3767, allocations: 0 / 0.5858 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3767, allocations: 0 / 0.5858 GB, free: 28.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.3767, allocations: 0 / 0.5858 GB, free: 28.05 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.007348/0.3841, allocations: 2.446 MB / 0.5882 GB, free: 26.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3842, allocations: 8.625 kB / 0.5882 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/0.389, allocations: 0.7672 MB / 0.589 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.3902, allocations: 0.7372 MB / 0.5897 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.3905, allocations: 255.6 kB / 0.5899 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.3906, allocations: 85.02 kB / 0.59 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.3927, allocations: 1.091 MB / 0.5911 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3928, allocations: 1.438 kB / 0.5911 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.3929, allocations: 29.66 kB / 0.5911 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.3929, allocations: 16.59 kB / 0.5911 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.395, allocations: 1.026 MB / 0.5921 GB, free: 25.25 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.005405/0.4004, allocations: 3.518 MB / 0.5956 GB, free: 23.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.4026, allocations: 1.444 MB / 0.597 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.404, allocations: 0.7402 MB / 0.5977 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.4041, allocations: 15.16 kB / 0.5977 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4041, allocations: 43.06 kB / 0.5977 GB, free: 21.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.785e-06/0.4041, allocations: 0 / 0.5977 GB, free: 21.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02567/0.4298, allocations: 6.441 MB / 0.604 GB, free: 20.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.4299, allocations: 87.98 kB / 0.6041 GB, free: 20.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.4311, allocations: 0.8309 MB / 0.6049 GB, free: 20.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.4314, allocations: 40.42 kB / 0.605 GB, free: 20.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.4317, allocations: 450.5 kB / 0.6054 GB, free: 19.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.4321, allocations: 322.9 kB / 0.6057 GB, free: 19.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/0.4326, allocations: 200.1 kB / 0.6059 GB, free: 19.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.4327, allocations: 349.5 kB / 0.6062 GB, free: 19.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.4342, allocations: 0.7013 MB / 0.6069 GB, free: 18.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.4357, allocations: 0.8377 MB / 0.6077 GB, free: 18.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.4387, allocations: 1.504 MB / 0.6092 GB, free: 17.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4388, allocations: 1.156 kB / 0.6092 GB, free: 17.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01397/0.4527, allocations: 4.221 MB / 0.6133 GB, free: 16.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.4528, allocations: 7.531 kB / 0.6133 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.4528, allocations: 1.438 kB / 0.6133 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006318/0.4592, allocations: 1.792 MB / 0.6151 GB, free: 16.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/0.4601, allocations: 192.4 kB / 0.6153 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/0.4792, allocations: 9.343 MB / 0.6244 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.4808, allocations: 167 kB / 0.6246 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.4809, allocations: 39.98 kB / 0.6246 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001551/0.4825, allocations: 0.85 MB / 0.6254 GB, free: 6.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001291/0.4838, allocations: 0.8197 MB / 0.6262 GB, free: 5.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002503/0.4863, allocations: 1.482 MB / 0.6277 GB, free: 4.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.147e-06/0.4863, allocations: 4 kB / 0.6277 GB, free: 4.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01222/0.4985, allocations: 4.199 MB / 0.6318 GB, free: 15.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4986, allocations: 4 kB / 0.6318 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4986, allocations: 4 kB / 0.6318 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005901/0.5045, allocations: 1.792 MB / 0.6335 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/0.5055, allocations: 191.7 kB / 0.6337 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.5264, allocations: 9.316 MB / 0.6428 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.5279, allocations: 159 kB / 0.643 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.528, allocations: 39.98 kB / 0.643 GB, free: 4.207 MB / 446.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.0003299/0.5283, allocations: 232.9 kB / 0.6432 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.5286, allocations: 106.7 kB / 0.6433 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.5412, allocations: 3.908 MB / 0.6471 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.5412, allocations: 16 kB / 0.6472 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5413, allocations: 0 / 0.6472 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.5413, allocations: 11.86 kB / 0.6472 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/0.5631, allocations: 5.618 MB / 0.6527 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.5632, allocations: 0 / 0.6527 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.5643, allocations: 103.9 kB / 0.6528 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009521/0.5739, allocations: 1.749 MB / 0.6545 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/0.5742, allocations: 16 kB / 0.6545 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03597/0.6102, allocations: 8.099 MB / 0.6624 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.6103, allocations: 4 kB / 0.6624 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02905/0.6394, allocations: 4.817 MB / 0.6671 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/0.64, allocations: 195.6 kB / 0.6673 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/0.6405, allocations: 19.94 kB / 0.6673 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/0.6426, allocations: 103.9 kB / 0.6674 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/0.6439, allocations: 208.6 kB / 0.6676 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/0.6441, allocations: 23.98 kB / 0.6676 GB, free: 10.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001629/0.6458, allocations: 0.555 MB / 0.6682 GB, free: 10.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6458, allocations: 0 / 0.6682 GB, free: 10.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00377/0.6496, allocations: 0.6827 MB / 0.6688 GB, free: 9.375 MB / 478.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.0004969/0.6501, allocations: 135.8 kB / 0.669 GB, free: 9.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02179/0.6719, allocations: 4.208 MB / 0.6731 GB, free: 5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.6719, allocations: 8 kB / 0.6731 GB, free: 4.992 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004966/0.6769, allocations: 1.552 MB / 0.6746 GB, free: 3.426 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.6781, allocations: 92.34 kB / 0.6747 GB, free: 3.336 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.6829, allocations: 2.375 MB / 0.677 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008272/0.6837, allocations: 1.074 MB / 0.678 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006088/0.6844, allocations: 106.7 kB / 0.6781 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.6846, allocations: 59.44 kB / 0.6782 GB, free: 15.66 MB / 494.1 MB Notification: Performance of SimCode: time 2.044e-06/0.6846, allocations: 0 / 0.6782 GB, free: 15.66 MB / 494.1 MB Notification: Performance of Templates: time 0.04946/0.7341, allocations: 30.36 MB / 0.7078 GB, free: 1.34 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)