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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.263/1.263, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008864, allocations: 98.33 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4332/0.4332, allocations: 78.03 MB / 414.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.084e-05, allocations: 4 kB / 491.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.311, allocations: 69.34 MB / 0.548 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.424, allocations: 98.8 MB / 0.6444 GB, free: 1.617 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4242, allocations: 79.97 kB / 0.6445 GB, free: 1.539 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06355/0.4878, allocations: 24.77 MB / 0.6687 GB, free: 8.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4878, allocations: 3.938 kB / 0.6687 GB, free: 8.586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.636e-05/0.4879, allocations: 16 kB / 0.6687 GB, free: 8.57 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004627/0.4925, allocations: 1.676 MB / 0.6704 GB, free: 6.848 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4926, allocations: 15.97 kB / 0.6704 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.4959, allocations: 0.5487 MB / 0.6709 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.4975, allocations: 0.7069 MB / 0.6716 GB, free: 5.527 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.4978, allocations: 268.1 kB / 0.6719 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.498, allocations: 72 kB / 0.6719 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.4996, allocations: 0.9149 MB / 0.6728 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.4996, allocations: 4 kB / 0.6728 GB, free: 4.227 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.391e-05/0.4997, allocations: 31.98 kB / 0.6729 GB, free: 4.195 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.4998, allocations: 20 kB / 0.6729 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.5012, allocations: 0.8085 MB / 0.6737 GB, free: 3.367 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2724/0.7735, allocations: 3.516 MB / 0.6771 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.7757, allocations: 1.27 MB / 0.6783 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009918/0.7767, allocations: 0.5727 MB / 0.6789 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.7769, allocations: 12.84 kB / 0.6789 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.7769, allocations: 46.66 kB / 0.679 GB, free: 104.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.945e-06/0.7769, allocations: 0 / 0.679 GB, free: 104.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01373/0.7906, allocations: 4.037 MB / 0.6829 GB, free: 104.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.7908, allocations: 90.72 kB / 0.683 GB, free: 104.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.7921, allocations: 0.6722 MB / 0.6836 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/0.7923, allocations: 44.67 kB / 0.6837 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.7926, allocations: 465.5 kB / 0.6841 GB, free: 104 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.7929, allocations: 317.9 kB / 0.6844 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.793, allocations: 19.47 kB / 0.6844 GB, free: 103.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.7931, allocations: 338.2 kB / 0.6848 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007594/0.7938, allocations: 446.9 kB / 0.6852 GB, free: 103.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007079/0.7946, allocations: 0.5516 MB / 0.6857 GB, free: 103.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.7953, allocations: 487.9 kB / 0.6862 GB, free: 103.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7953, allocations: 0 / 0.6862 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01131/0.8066, allocations: 4.204 MB / 0.6903 GB, free: 103.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/0.8068, allocations: 0.8749 MB / 0.6912 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.8069, allocations: 0 / 0.6912 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005268/0.8121, allocations: 1.738 MB / 0.6929 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/0.8129, allocations: 140.9 kB / 0.693 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.826, allocations: 7.286 MB / 0.7001 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.8274, allocations: 186.2 kB / 0.7003 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/0.8275, allocations: 27.12 kB / 0.7003 GB, free: 98.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.8275, allocations: 3.562 kB / 0.7003 GB, free: 98.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01087/0.8384, allocations: 4.081 MB / 0.7043 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.8384, allocations: 3.438 kB / 0.7043 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005183/0.8436, allocations: 1.737 MB / 0.706 GB, free: 96.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.8444, allocations: 134.7 kB / 0.7061 GB, free: 96.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.8576, allocations: 7.27 MB / 0.7132 GB, free: 89.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.8591, allocations: 178.4 kB / 0.7134 GB, free: 89.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.8592, allocations: 27 kB / 0.7134 GB, free: 89.71 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.0002502/0.8594, allocations: 154.3 kB / 0.7136 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.8596, allocations: 110.6 kB / 0.7137 GB, free: 89.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/0.8708, allocations: 4.158 MB / 0.7177 GB, free: 86.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.8709, allocations: 11.75 kB / 0.7177 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8709, allocations: 6.625 kB / 0.7178 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.8709, allocations: 3.281 kB / 0.7178 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.884, allocations: 5.767 MB / 0.7234 GB, free: 81.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.8841, allocations: 4 kB / 0.7234 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.8847, allocations: 114.2 kB / 0.7235 GB, free: 81.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004716/0.8894, allocations: 1.677 MB / 0.7251 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.8895, allocations: 23.69 kB / 0.7252 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.9005, allocations: 6.318 MB / 0.7313 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.9006, allocations: 0 / 0.7313 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.9125, allocations: 4.908 MB / 0.7361 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.9129, allocations: 203.5 kB / 0.7363 GB, free: 68.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.9131, allocations: 19.95 kB / 0.7363 GB, free: 68.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.9142, allocations: 143.4 kB / 0.7365 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006096/0.9149, allocations: 208.2 kB / 0.7367 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/0.915, allocations: 27.98 kB / 0.7367 GB, free: 68.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006014/0.9156, allocations: 0.5241 MB / 0.7372 GB, free: 67.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9156, allocations: 0 / 0.7372 GB, free: 67.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001747/0.9173, allocations: 0.6556 MB / 0.7378 GB, free: 67.12 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 () * 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.0002791/0.9176, allocations: 142.3 kB / 0.738 GB, free: 66.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008646/0.9263, allocations: 3.553 MB / 0.7415 GB, free: 63.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9263, allocations: 4 kB / 0.7415 GB, free: 63.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003778/0.9301, allocations: 1.484 MB / 0.7429 GB, free: 61.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.9307, allocations: 80.78 kB / 0.743 GB, free: 61.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.9334, allocations: 1.579 MB / 0.7445 GB, free: 60.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.9338, allocations: 1.102 MB / 0.7456 GB, free: 59.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005649/0.9343, allocations: 135.8 kB / 0.7457 GB, free: 58.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.9345, allocations: 39.44 kB / 0.7458 GB, free: 58.94 MB / 490.7 MB Notification: Performance of SimCode: time 4.4e-07/0.9345, allocations: 0 / 0.7458 GB, free: 58.94 MB / 490.7 MB Notification: Performance of Templates: time 0.03623/0.9707, allocations: 28.23 MB / 0.7733 GB, free: 31.01 MB / 490.7 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)