Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 180.2 kB / 7.65 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009594, allocations: 97.31 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4684/0.4684, allocations: 78.95 MB / 410.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.669e-05, allocations: 4 kB / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1431, allocations: 69.52 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5455/0.6887, allocations: 98.81 MB / 0.6389 GB, free: 15.33 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.6891, allocations: 80.95 kB / 0.639 GB, free: 15.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09967/0.7888, allocations: 25.14 MB / 0.6636 GB, free: 6.172 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7888, allocations: 4 kB / 0.6636 GB, free: 6.168 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.886e-05/0.7889, allocations: 16 kB / 0.6636 GB, free: 6.152 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.007744/0.7966, allocations: 1.679 MB / 0.6652 GB, free: 4.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.7967, allocations: 12.03 kB / 0.6652 GB, free: 4.418 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006484/0.8032, allocations: 0.5449 MB / 0.6658 GB, free: 3.871 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.8056, allocations: 0.7108 MB / 0.6665 GB, free: 3.117 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004503/0.806, allocations: 232.2 kB / 0.6667 GB, free: 2.852 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.8063, allocations: 47.98 kB / 0.6667 GB, free: 2.805 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002471/0.8088, allocations: 0.7733 MB / 0.6675 GB, free: 2.031 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.8113, allocations: 0.8172 MB / 0.6683 GB, free: 1.203 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.8113, allocations: 0 / 0.6683 GB, free: 1.203 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.8115, allocations: 0 / 0.6683 GB, free: 1.203 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.8115, allocations: 20 kB / 0.6683 GB, free: 1.184 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.8229, allocations: 3.423 MB / 0.6716 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.8258, allocations: 1.234 MB / 0.6728 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.8273, allocations: 0.5476 MB / 0.6734 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.8275, allocations: 21.31 kB / 0.6734 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.8276, allocations: 43.34 kB / 0.6734 GB, free: 11.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 5.019e-06/0.8276, allocations: 0 / 0.6734 GB, free: 11.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.02192/0.8495, allocations: 3.965 MB / 0.6773 GB, free: 7.664 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.8496, allocations: 89.89 kB / 0.6774 GB, free: 7.559 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.8514, allocations: 0.6313 MB / 0.678 GB, free: 6.906 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003114/0.8517, allocations: 26.55 kB / 0.678 GB, free: 6.875 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005546/0.8523, allocations: 464.4 kB / 0.6785 GB, free: 6.414 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005551/0.8528, allocations: 311.3 kB / 0.6788 GB, free: 6.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.853, allocations: 0 / 0.6788 GB, free: 6.105 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8532, allocations: 341.9 kB / 0.6791 GB, free: 5.766 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.8545, allocations: 426.6 kB / 0.6795 GB, free: 5.352 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.8558, allocations: 0.5285 MB / 0.68 GB, free: 4.785 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.8571, allocations: 470.3 kB / 0.6805 GB, free: 4.332 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.8571, allocations: 0 / 0.6805 GB, free: 4.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.02204/0.8792, allocations: 4.122 MB / 0.6845 GB, free: 200 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005884/0.8798, allocations: 0.8801 MB / 0.6854 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.8798, allocations: 0 / 0.6854 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00947/0.8893, allocations: 1.681 MB / 0.687 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.8906, allocations: 139.8 kB / 0.6871 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/0.9136, allocations: 7.09 MB / 0.6941 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/0.9159, allocations: 167.2 kB / 0.6942 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.916, allocations: 29.33 kB / 0.6943 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.9161, allocations: 4.656 kB / 0.6943 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0201/0.9362, allocations: 3.988 MB / 0.6982 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/0.9363, allocations: 0 / 0.6982 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009591/0.9459, allocations: 1.671 MB / 0.6998 GB, free: 360 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.947, allocations: 143.8 kB / 0.6999 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/0.9713, allocations: 7.094 MB / 0.7068 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.9734, allocations: 159.3 kB / 0.707 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.9736, allocations: 32.73 kB / 0.707 GB, free: 8.805 MB / 0.5105 GB 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.0003639/0.974, allocations: 120.6 kB / 0.7071 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.9743, allocations: 110.6 kB / 0.7073 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02027/0.9946, allocations: 4.075 MB / 0.7112 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.9947, allocations: 12 kB / 0.7112 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9947, allocations: 4 kB / 0.7112 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.122e-05/0.9947, allocations: 3.984 kB / 0.7112 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/1.018, allocations: 5.604 MB / 0.7167 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.018, allocations: 5.656 kB / 0.7167 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.019, allocations: 115.8 kB / 0.7168 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009055/1.028, allocations: 1.655 MB / 0.7185 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/1.029, allocations: 7.984 kB / 0.7185 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/1.05, allocations: 6.178 MB / 0.7245 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/1.05, allocations: 4 kB / 0.7245 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/1.071, allocations: 4.831 MB / 0.7292 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/1.072, allocations: 195.6 kB / 0.7294 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/1.072, allocations: 0 / 0.7294 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/1.074, allocations: 131.8 kB / 0.7295 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/1.075, allocations: 204.4 kB / 0.7297 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.075, allocations: 27.98 kB / 0.7298 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001123/1.076, allocations: 492 kB / 0.7302 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/1.076, allocations: 0 / 0.7302 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003128/1.079, allocations: 0.6005 MB / 0.7308 GB, free: 116 kB / 0.5261 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.0004663/1.08, allocations: 128 kB / 0.7309 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01516/1.095, allocations: 3.437 MB / 0.7343 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.095, allocations: 0.5625 kB / 0.7343 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006903/1.102, allocations: 1.446 MB / 0.7357 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.103, allocations: 63.17 kB / 0.7358 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/1.108, allocations: 1.531 MB / 0.7373 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.109, allocations: 1.107 MB / 0.7383 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001175/1.11, allocations: 132.2 kB / 0.7385 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/1.111, allocations: 51.42 kB / 0.7385 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of SimCode: time 3.146e-06/1.111, allocations: 4 kB / 0.7385 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of Templates: time 0.3376/1.448, allocations: 26.2 MB / 0.7641 GB, free: 148.7 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)