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.001652/0.001652, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.268/1.268, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0009453/0.0009454, allocations: 86.27 kB / 266.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06731/0.06731, allocations: 12.6 MB / 327.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2885/0.2885, allocations: 78.03 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.846e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.0974, allocations: 69.32 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4486, allocations: 100.4 MB / 0.6875 GB, free: 15.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.4488, allocations: 74.27 kB / 0.6876 GB, free: 15.03 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06695/0.5158, allocations: 24.03 MB / 0.711 GB, free: 10.72 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5159, allocations: 0 / 0.711 GB, free: 10.72 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.308e-05/0.5159, allocations: 16 kB / 0.711 GB, free: 10.7 MB / 458.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.004972/0.5209, allocations: 1.682 MB / 0.7127 GB, free: 9.086 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.521, allocations: 15.98 kB / 0.7127 GB, free: 9.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.5244, allocations: 0.5497 MB / 0.7132 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.526, allocations: 0.7222 MB / 0.7139 GB, free: 7.938 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.5263, allocations: 256.5 kB / 0.7142 GB, free: 7.676 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.5265, allocations: 72.62 kB / 0.7143 GB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.5281, allocations: 0.9154 MB / 0.7151 GB, free: 7.027 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.5281, allocations: 3.938 kB / 0.7152 GB, free: 7.023 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-05/0.5282, allocations: 33.31 kB / 0.7152 GB, free: 7.016 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.5283, allocations: 16 kB / 0.7152 GB, free: 7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.5297, allocations: 0.8127 MB / 0.716 GB, free: 6.496 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006192/0.5359, allocations: 3.527 MB / 0.7194 GB, free: 3.793 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.5377, allocations: 1.264 MB / 0.7207 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008851/0.5386, allocations: 0.5676 MB / 0.7212 GB, free: 2.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.5387, allocations: 16.75 kB / 0.7212 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5388, allocations: 41.03 kB / 0.7213 GB, free: 2.352 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 3.056e-06/0.5388, allocations: 4 kB / 0.7213 GB, free: 2.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.01256/0.5514, allocations: 4.035 MB / 0.7252 GB, free: 14.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.5515, allocations: 93.89 kB / 0.7253 GB, free: 14.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/0.5524, allocations: 0.6734 MB / 0.726 GB, free: 14.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.5526, allocations: 39.95 kB / 0.726 GB, free: 14.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.5528, allocations: 468.4 kB / 0.7265 GB, free: 13.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.5532, allocations: 315.2 kB / 0.7268 GB, free: 13.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.5533, allocations: 18.38 kB / 0.7268 GB, free: 13.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5534, allocations: 343.3 kB / 0.7271 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007165/0.5541, allocations: 445 kB / 0.7275 GB, free: 13.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/0.5549, allocations: 0.5498 MB / 0.7281 GB, free: 12.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.5557, allocations: 485.5 kB / 0.7285 GB, free: 12.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5557, allocations: 4 kB / 0.7285 GB, free: 12.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01239/0.5681, allocations: 4.198 MB / 0.7326 GB, free: 8.816 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.5684, allocations: 0.8793 MB / 0.7335 GB, free: 7.891 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5684, allocations: 7.984 kB / 0.7335 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005718/0.5741, allocations: 1.724 MB / 0.7352 GB, free: 6.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.5749, allocations: 145.1 kB / 0.7353 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/0.5894, allocations: 7.286 MB / 0.7424 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.5908, allocations: 187.2 kB / 0.7426 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/0.591, allocations: 35.98 kB / 0.7426 GB, free: 0.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.591, allocations: 4 kB / 0.7427 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01275/0.6037, allocations: 4.063 MB / 0.7466 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.6038, allocations: 0 / 0.7466 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005723/0.6095, allocations: 1.741 MB / 0.7483 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.6102, allocations: 139.8 kB / 0.7485 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/0.6251, allocations: 7.272 MB / 0.7556 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.6265, allocations: 179.2 kB / 0.7557 GB, free: 3.203 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.6266, allocations: 28 kB / 0.7558 GB, free: 3.176 MB / 490.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 () * 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.0002559/0.6269, allocations: 156.7 kB / 0.7559 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.6271, allocations: 110.7 kB / 0.756 GB, free: 2.906 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.6397, allocations: 4.165 MB / 0.7601 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.6397, allocations: 8 kB / 0.7601 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6398, allocations: 0 / 0.7601 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.6398, allocations: 3.984 kB / 0.7601 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.6543, allocations: 5.76 MB / 0.7657 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6543, allocations: 4 kB / 0.7657 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006785/0.655, allocations: 115.8 kB / 0.7658 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005339/0.6603, allocations: 1.683 MB / 0.7675 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.6605, allocations: 20 kB / 0.7675 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.6734, allocations: 6.313 MB / 0.7737 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6735, allocations: 8 kB / 0.7737 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/0.6872, allocations: 4.908 MB / 0.7785 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.6876, allocations: 199.5 kB / 0.7786 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.6877, allocations: 16 kB / 0.7787 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.6888, allocations: 131.9 kB / 0.7788 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000596/0.6894, allocations: 212.3 kB / 0.779 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/0.6895, allocations: 24 kB / 0.779 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006834/0.6902, allocations: 0.5397 MB / 0.7795 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6902, allocations: 3.938 kB / 0.7795 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001646/0.6918, allocations: 0.6436 MB / 0.7802 GB, free: 9.781 MB / 0.5105 GB 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 () * 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.0002702/0.6921, allocations: 154 kB / 0.7803 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009596/0.7017, allocations: 3.563 MB / 0.7838 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.7018, allocations: 0 / 0.7838 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004371/0.7061, allocations: 1.477 MB / 0.7852 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.7068, allocations: 75.42 kB / 0.7853 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.7099, allocations: 1.575 MB / 0.7868 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.7105, allocations: 1.106 MB / 0.7879 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006451/0.7111, allocations: 136.3 kB / 0.7881 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.7113, allocations: 43.44 kB / 0.7881 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/0.7113, allocations: 0 / 0.7881 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of Templates: time 0.03971/0.751, allocations: 28.25 MB / 0.8157 GB, free: 5.285 MB / 0.5417 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)