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.001436/0.001436, allocations: 108.4 kB / 16.37 MB, free: 5.516 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.329/1.329, allocations: 222.9 MB / 240 MB, free: 4.566 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.00125/0.00125, allocations: 184.5 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4283/0.4283, allocations: 78.53 MB / 419 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 79.88 kB / 498.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 68.18 MB / 0.5538 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2179/0.3362, allocations: 6.113 MB / 0.5598 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.3393, allocations: 1.863 MB / 0.5616 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005154/0.3398, allocations: 12 kB / 0.5616 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.3403, allocations: 212.8 kB / 0.5618 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.3418, allocations: 0.6948 MB / 0.5625 GB, free: 35.53 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.001201/0.343, allocations: 0.637 MB / 0.5631 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.344, allocations: 1.349 MB / 0.5644 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.3444, allocations: 292.9 kB / 0.5647 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.3449, allocations: 0.5628 MB / 0.5652 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.3454, allocations: 0.6853 MB / 0.5659 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.3456, allocations: 97.81 kB / 0.566 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.3459, allocations: 230.6 kB / 0.5662 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.3461, allocations: 268.3 kB / 0.5665 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.3465, allocations: 0.584 MB / 0.567 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.3475, allocations: 1.457 MB / 0.5685 GB, free: 34.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3475, allocations: 0 / 0.5685 GB, free: 34.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3476, allocations: 1.594 kB / 0.5685 GB, free: 34.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.3476, allocations: 0 / 0.5685 GB, free: 34.25 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.007153/0.3547, allocations: 2.439 MB / 0.5709 GB, free: 33.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3548, allocations: 11.16 kB / 0.5709 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004743/0.3595, allocations: 0.7669 MB / 0.5716 GB, free: 33.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.3608, allocations: 0.7406 MB / 0.5723 GB, free: 32.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.3611, allocations: 259.3 kB / 0.5726 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.3613, allocations: 75 kB / 0.5727 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.3632, allocations: 1.096 MB / 0.5737 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.3633, allocations: 0 / 0.5737 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/0.3634, allocations: 28.31 kB / 0.5737 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.3634, allocations: 19.03 kB / 0.5738 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.3653, allocations: 1.024 MB / 0.5748 GB, free: 32.66 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.004935/0.3702, allocations: 3.454 MB / 0.5781 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.3722, allocations: 1.429 MB / 0.5795 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.3735, allocations: 0.7384 MB / 0.5803 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.3736, allocations: 23.12 kB / 0.5803 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3736, allocations: 43.16 kB / 0.5803 GB, free: 30.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.254e-06/0.3736, allocations: 3.938 kB / 0.5803 GB, free: 30.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02516/0.3988, allocations: 6.895 MB / 0.5871 GB, free: 29.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.3989, allocations: 91.11 kB / 0.5871 GB, free: 28.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.4, allocations: 0.8266 MB / 0.588 GB, free: 28.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.4002, allocations: 42.02 kB / 0.588 GB, free: 28.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.4005, allocations: 446.5 kB / 0.5884 GB, free: 28.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.4008, allocations: 328.6 kB / 0.5887 GB, free: 27.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.4012, allocations: 202.7 kB / 0.5889 GB, free: 27.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.4013, allocations: 344.9 kB / 0.5893 GB, free: 27.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.4028, allocations: 0.7155 MB / 0.59 GB, free: 27.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.4043, allocations: 0.8398 MB / 0.5908 GB, free: 26.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.4073, allocations: 1.514 MB / 0.5922 GB, free: 26.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4073, allocations: 2.594 kB / 0.5923 GB, free: 26.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01294/0.4202, allocations: 4.233 MB / 0.5964 GB, free: 25.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4203, allocations: 6.438 kB / 0.5964 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.4203, allocations: 2.5 kB / 0.5964 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005994/0.4263, allocations: 1.788 MB / 0.5981 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009968/0.4273, allocations: 195.6 kB / 0.5983 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/0.4481, allocations: 9.303 MB / 0.6074 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.4497, allocations: 167.6 kB / 0.6076 GB, free: 20.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4498, allocations: 38.41 kB / 0.6076 GB, free: 20.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001737/0.4515, allocations: 0.8635 MB / 0.6085 GB, free: 19.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001505/0.453, allocations: 0.8237 MB / 0.6093 GB, free: 19.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002711/0.4558, allocations: 1.499 MB / 0.6107 GB, free: 18.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.4558, allocations: 1.625 kB / 0.6107 GB, free: 18.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.0121/0.4679, allocations: 4.217 MB / 0.6148 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4679, allocations: 4 kB / 0.6148 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4679, allocations: 4 kB / 0.6148 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/0.4735, allocations: 1.783 MB / 0.6166 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.4745, allocations: 187.7 kB / 0.6168 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/0.4928, allocations: 9.306 MB / 0.6259 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4943, allocations: 155.2 kB / 0.626 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.4944, allocations: 36 kB / 0.626 GB, free: 4.195 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.0002815/0.4947, allocations: 236 kB / 0.6263 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.4949, allocations: 114.6 kB / 0.6264 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.5062, allocations: 3.904 MB / 0.6302 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.5062, allocations: 8 kB / 0.6302 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5062, allocations: 0 / 0.6302 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.5062, allocations: 3.984 kB / 0.6302 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.5208, allocations: 5.566 MB / 0.6356 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.5209, allocations: 0 / 0.6356 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.5216, allocations: 107.8 kB / 0.6357 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005616/0.5272, allocations: 1.749 MB / 0.6374 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.5274, allocations: 19.98 kB / 0.6375 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/0.5447, allocations: 8.058 MB / 0.6453 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5447, allocations: 1.406 kB / 0.6453 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/0.5585, allocations: 4.859 MB / 0.6501 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.5589, allocations: 191.5 kB / 0.6503 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.5591, allocations: 16 kB / 0.6503 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009287/0.56, allocations: 100.8 kB / 0.6504 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006079/0.5606, allocations: 204.7 kB / 0.6506 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.5607, allocations: 24 kB / 0.6506 GB, free: 10.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006852/0.5614, allocations: 0.5549 MB / 0.6511 GB, free: 10.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5614, allocations: 4 kB / 0.6511 GB, free: 10.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001782/0.5632, allocations: 0.6827 MB / 0.6518 GB, free: 9.445 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.0002429/0.5635, allocations: 141.9 kB / 0.6519 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01108/0.5746, allocations: 4.192 MB / 0.656 GB, free: 5.098 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.5746, allocations: 8.062 kB / 0.656 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004463/0.5791, allocations: 1.556 MB / 0.6576 GB, free: 3.523 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.58, allocations: 90 kB / 0.6576 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.5839, allocations: 2.034 MB / 0.6596 GB, free: 1.402 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.5845, allocations: 1.085 MB / 0.6607 GB, free: 296 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004542/0.585, allocations: 99 kB / 0.6608 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.5852, allocations: 63.42 kB / 0.6608 GB, free: 132 kB / 462.1 MB Notification: Performance of SimCode: time 4.5e-07/0.5852, allocations: 1.875 kB / 0.6608 GB, free: 132 kB / 462.1 MB Notification: Performance of Templates: time 0.04379/0.629, allocations: 31.34 MB / 0.6915 GB, free: 0.9727 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)