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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.004815/0.004815, allocations: 169.6 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008245/0.0008243, allocations: 97.38 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4252/0.4252, allocations: 79.43 MB / 420.8 MB, free: 43.65 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.000332, allocations: 16 kB / 0.489 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3111, allocations: 69.5 MB / 0.5569 GB, free: 38.67 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4255, allocations: 99.18 MB / 0.6538 GB, free: 6.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.4258, allocations: 79.95 kB / 0.6538 GB, free: 6.332 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06251/0.4884, allocations: 25.06 MB / 0.6783 GB, free: 13.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.4884, allocations: 0 / 0.6783 GB, free: 13.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.165e-05/0.4884, allocations: 23.94 kB / 0.6783 GB, free: 13.13 MB / 490.7 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.004372/0.4928, allocations: 1.865 MB / 0.6802 GB, free: 11.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.4929, allocations: 8.031 kB / 0.6802 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.4959, allocations: 0.5487 MB / 0.6807 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4971, allocations: 0.7185 MB / 0.6814 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.4974, allocations: 264.1 kB / 0.6817 GB, free: 9.598 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.4975, allocations: 72 kB / 0.6817 GB, free: 9.527 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.4996, allocations: 1.153 MB / 0.6829 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4996, allocations: 0 / 0.6829 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/0.4997, allocations: 32 kB / 0.6829 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4998, allocations: 20 kB / 0.6829 GB, free: 8.309 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.5019, allocations: 1.12 MB / 0.684 GB, free: 7.188 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005696/0.5076, allocations: 3.566 MB / 0.6875 GB, free: 3.449 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.5099, allocations: 1.529 MB / 0.689 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.015e-05/0.51, allocations: 16.98 kB / 0.689 GB, free: 1.789 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.51, allocations: 47.5 kB / 0.689 GB, free: 1.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.305e-06/0.51, allocations: 0 / 0.689 GB, free: 1.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02616/0.5362, allocations: 8.133 MB / 0.697 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.5363, allocations: 86.11 kB / 0.6971 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.5373, allocations: 0.6984 MB / 0.6977 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.5375, allocations: 37.7 kB / 0.6978 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.5378, allocations: 472.4 kB / 0.6982 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.5381, allocations: 315.4 kB / 0.6985 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.5382, allocations: 16 kB / 0.6985 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5383, allocations: 345.9 kB / 0.6989 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.5397, allocations: 0.6657 MB / 0.6995 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.5411, allocations: 0.793 MB / 0.7003 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.5425, allocations: 0.7221 MB / 0.701 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5425, allocations: 0 / 0.701 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01333/0.5558, allocations: 4.856 MB / 0.7057 GB, free: 484 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003025/0.5562, allocations: 0.8769 MB / 0.7066 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5562, allocations: 0 / 0.7066 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006234/0.5624, allocations: 2.133 MB / 0.7087 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.5631, allocations: 135.8 kB / 0.7088 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.5837, allocations: 10.02 MB / 0.7186 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.585, allocations: 187.2 kB / 0.7188 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/0.5851, allocations: 27.98 kB / 0.7188 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.5851, allocations: 4 kB / 0.7188 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01308/0.5982, allocations: 4.707 MB / 0.7234 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5982, allocations: 4 kB / 0.7234 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006142/0.6044, allocations: 2.125 MB / 0.7255 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.6051, allocations: 135.8 kB / 0.7256 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.6258, allocations: 10 MB / 0.7354 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.6274, allocations: 183.2 kB / 0.7356 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.6276, allocations: 24 kB / 0.7356 GB, free: 1.574 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.000606/0.6282, allocations: 297 kB / 0.7359 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.6284, allocations: 122.6 kB / 0.736 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.6419, allocations: 4.834 MB / 0.7407 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.642, allocations: 8 kB / 0.7407 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.642, allocations: 3.984 kB / 0.7407 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.642, allocations: 3.984 kB / 0.7407 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.6578, allocations: 6.496 MB / 0.7471 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.6579, allocations: 4 kB / 0.7471 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006804/0.6585, allocations: 115.8 kB / 0.7472 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006009/0.6646, allocations: 2.052 MB / 0.7492 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.6647, allocations: 20 kB / 0.7492 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01761/0.6824, allocations: 8.659 MB / 0.7576 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6824, allocations: 7.922 kB / 0.7577 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/0.6976, allocations: 5.821 MB / 0.7633 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.698, allocations: 195.6 kB / 0.7635 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.6981, allocations: 16 kB / 0.7635 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6992, allocations: 143.9 kB / 0.7637 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006134/0.6998, allocations: 208.5 kB / 0.7639 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.6999, allocations: 20 kB / 0.7639 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006857/0.7006, allocations: 0.551 MB / 0.7644 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7006, allocations: 0 / 0.7644 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00167/0.7022, allocations: 0.6514 MB / 0.7651 GB, free: 2.973 MB / 0.5573 GB 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 (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.0002656/0.7025, allocations: 152.8 kB / 0.7652 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2222/0.9247, allocations: 4.274 MB / 0.7694 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.9247, allocations: 0 / 0.7694 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004944/0.9297, allocations: 1.741 MB / 0.7711 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.9304, allocations: 76.45 kB / 0.7712 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.9339, allocations: 2.372 MB / 0.7735 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.9345, allocations: 1.098 MB / 0.7746 GB, free: 148 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003869/0.9349, allocations: 82.41 kB / 0.7746 GB, free: 148 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.9351, allocations: 48.66 kB / 0.7747 GB, free: 148 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/0.9351, allocations: 1.625 kB / 0.7747 GB, free: 148 MB / 0.5573 GB Notification: Performance of Templates: time 0.034/0.9691, allocations: 26.56 MB / 0.8006 GB, free: 146.7 MB / 0.5573 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)