Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005663/0.005663, allocations: 170.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009164/0.0009166, allocations: 94.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0629/0.06291, allocations: 12.6 MB / 330.4 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4351/0.4351, allocations: 78.51 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005859/0.000586, allocations: 18.78 kB / 0.5285 GB, free: 35.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1538, allocations: 69.32 MB / 0.5962 GB, free: 3.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.51/0.6639, allocations: 100.5 MB / 0.6943 GB, free: 35.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.6641, allocations: 82.22 kB / 0.6943 GB, free: 35.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06402/0.7282, allocations: 24.11 MB / 0.7179 GB, free: 33.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7282, allocations: 0 / 0.7179 GB, free: 33.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.421e-05/0.7283, allocations: 18.34 kB / 0.7179 GB, free: 33.08 MB / 474.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.004912/0.7332, allocations: 1.873 MB / 0.7197 GB, free: 32.26 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.7332, allocations: 15.61 kB / 0.7197 GB, free: 32.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.7364, allocations: 0.556 MB / 0.7203 GB, free: 32.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.738, allocations: 0.7285 MB / 0.721 GB, free: 31.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.7383, allocations: 261.2 kB / 0.7213 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.7385, allocations: 73.75 kB / 0.7213 GB, free: 31.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.7407, allocations: 1.159 MB / 0.7225 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.7408, allocations: 4 kB / 0.7225 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.7409, allocations: 25.66 kB / 0.7225 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.7409, allocations: 23.23 kB / 0.7225 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.7429, allocations: 1.118 MB / 0.7236 GB, free: 31.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/0.7488, allocations: 3.53 MB / 0.727 GB, free: 30.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.7511, allocations: 1.517 MB / 0.7285 GB, free: 29.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.7512, allocations: 12.72 kB / 0.7285 GB, free: 29.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.7512, allocations: 42.34 kB / 0.7286 GB, free: 29.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=90): time 5.22e-06/0.7512, allocations: 0 / 0.7286 GB, free: 29.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.02564/0.7769, allocations: 8.29 MB / 0.7367 GB, free: 29.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.777, allocations: 93.7 kB / 0.7368 GB, free: 29.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.7782, allocations: 0.6832 MB / 0.7374 GB, free: 29.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002447/0.7784, allocations: 47.14 kB / 0.7375 GB, free: 29.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.7787, allocations: 463.9 kB / 0.7379 GB, free: 28.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004432/0.7792, allocations: 325.8 kB / 0.7382 GB, free: 28.63 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/0.7793, allocations: 22.09 kB / 0.7382 GB, free: 28.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.7794, allocations: 336.3 kB / 0.7386 GB, free: 28.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.7807, allocations: 0.6809 MB / 0.7392 GB, free: 28.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.7821, allocations: 0.7971 MB / 0.74 GB, free: 28.19 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.7834, allocations: 0.7214 MB / 0.7407 GB, free: 28.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.7834, allocations: 0 / 0.7407 GB, free: 28.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01275/0.7962, allocations: 4.876 MB / 0.7455 GB, free: 27.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.7965, allocations: 0.8821 MB / 0.7463 GB, free: 26.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.7965, allocations: 7.891 kB / 0.7463 GB, free: 26.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006026/0.8025, allocations: 2.101 MB / 0.7484 GB, free: 26.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/0.8033, allocations: 144.4 kB / 0.7485 GB, free: 26.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/0.8243, allocations: 10 MB / 0.7583 GB, free: 23.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.8261, allocations: 188.2 kB / 0.7585 GB, free: 23.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.8264, allocations: 26.69 kB / 0.7585 GB, free: 23.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.8264, allocations: 3.906 kB / 0.7585 GB, free: 23.26 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01279/0.8392, allocations: 4.729 MB / 0.7631 GB, free: 21.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.8393, allocations: 3.906 kB / 0.7631 GB, free: 21.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006204/0.8455, allocations: 2.105 MB / 0.7652 GB, free: 21.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/0.8463, allocations: 140.2 kB / 0.7653 GB, free: 21.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.8663, allocations: 9.987 MB / 0.7751 GB, free: 18.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.868, allocations: 181.6 kB / 0.7753 GB, free: 18.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.8683, allocations: 30.95 kB / 0.7753 GB, free: 18.2 MB / 474.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 (73): * Single equations (assignments): 72 * 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.0009269/0.8692, allocations: 306.2 kB / 0.7756 GB, free: 18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/0.8697, allocations: 109.2 kB / 0.7757 GB, free: 17.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.8827, allocations: 4.846 MB / 0.7804 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.8828, allocations: 12 kB / 0.7804 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.8828, allocations: 0 / 0.7804 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/0.8829, allocations: 7.922 kB / 0.7804 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.8988, allocations: 6.444 MB / 0.7867 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.8989, allocations: 0 / 0.7867 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007595/0.8997, allocations: 123.4 kB / 0.7868 GB, free: 8.328 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005634/0.9053, allocations: 2.062 MB / 0.7889 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/0.9056, allocations: 20.12 kB / 0.7889 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/0.9236, allocations: 8.634 MB / 0.7973 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9236, allocations: 0 / 0.7973 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/0.9402, allocations: 5.836 MB / 0.803 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007618/0.941, allocations: 191.6 kB / 0.8032 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000694/0.9417, allocations: 16 kB / 0.8032 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.9434, allocations: 143.9 kB / 0.8033 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009533/0.9443, allocations: 204.6 kB / 0.8035 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/0.9446, allocations: 23.98 kB / 0.8036 GB, free: 7.355 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0011/0.9457, allocations: 0.5432 MB / 0.8041 GB, free: 6.801 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9457, allocations: 0 / 0.8041 GB, free: 6.801 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003264/0.949, allocations: 0.6514 MB / 0.8047 GB, free: 6.148 MB / 490.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.0004941/0.9495, allocations: 150.1 kB / 0.8049 GB, free: 5.996 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01201/0.9615, allocations: 4.291 MB / 0.8091 GB, free: 1.684 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.9616, allocations: 0 / 0.8091 GB, free: 1.684 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004915/0.9665, allocations: 1.752 MB / 0.8108 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.9676, allocations: 78.23 kB / 0.8108 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.9725, allocations: 2.438 MB / 0.8132 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.9733, allocations: 1.104 MB / 0.8143 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004987/0.9738, allocations: 77.48 kB / 0.8144 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.9741, allocations: 55.42 kB / 0.8144 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.253e-06/0.9741, allocations: 0 / 0.8144 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.04822/1.022, allocations: 26.55 MB / 0.8404 GB, free: 1.586 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)