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.001691/0.001691, allocations: 169 kB / 12.72 MB, free: 2.586 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.331/1.331, 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.0008121/0.0008122, allocations: 97.2 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5667/0.5667, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.554e-05, allocations: 0 / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3821, allocations: 69.5 MB / 0.5491 GB, free: 19.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.5119, allocations: 99.11 MB / 0.6459 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.5122, allocations: 83.95 kB / 0.646 GB, free: 440 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06595/0.5781, allocations: 24.98 MB / 0.6704 GB, free: 7.277 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5782, allocations: 3.938 kB / 0.6704 GB, free: 7.273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.015e-05/0.5782, allocations: 23.94 kB / 0.6704 GB, free: 7.25 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.004524/0.5828, allocations: 1.675 MB / 0.672 GB, free: 5.527 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5828, allocations: 15.97 kB / 0.672 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.5861, allocations: 0.5448 MB / 0.6726 GB, free: 4.965 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.5878, allocations: 0.6991 MB / 0.6733 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.5881, allocations: 268.1 kB / 0.6735 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.5883, allocations: 75.95 kB / 0.6736 GB, free: 3.848 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.59, allocations: 0.9033 MB / 0.6745 GB, free: 2.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.59, allocations: 3.938 kB / 0.6745 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/0.5901, allocations: 31.98 kB / 0.6745 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.5902, allocations: 20 kB / 0.6745 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.5917, allocations: 0.8124 MB / 0.6753 GB, free: 2.062 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3531/0.9448, allocations: 3.552 MB / 0.6788 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.9467, allocations: 1.265 MB / 0.68 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009654/0.9477, allocations: 0.5704 MB / 0.6806 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.9479, allocations: 19.19 kB / 0.6806 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.9479, allocations: 41.98 kB / 0.6806 GB, free: 103.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 4.679e-06/0.9479, allocations: 1.25 kB / 0.6806 GB, free: 103.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01407/0.962, allocations: 4.024 MB / 0.6846 GB, free: 103.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.9621, allocations: 90.83 kB / 0.6846 GB, free: 103.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.9632, allocations: 0.6953 MB / 0.6853 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.9634, allocations: 38.98 kB / 0.6854 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.9637, allocations: 464.2 kB / 0.6858 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.964, allocations: 311.8 kB / 0.6861 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.964, allocations: 18.56 kB / 0.6861 GB, free: 103.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.9641, allocations: 339.9 kB / 0.6864 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.9648, allocations: 439.5 kB / 0.6869 GB, free: 102.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/0.9655, allocations: 0.5464 MB / 0.6874 GB, free: 102.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.9662, allocations: 477.4 kB / 0.6879 GB, free: 102.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.9662, allocations: 0 / 0.6879 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01142/0.9776, allocations: 4.177 MB / 0.6919 GB, free: 102.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.9778, allocations: 0.8818 MB / 0.6928 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9779, allocations: 3.594 kB / 0.6928 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005217/0.9831, allocations: 1.74 MB / 0.6945 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.9838, allocations: 144.3 kB / 0.6946 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.9969, allocations: 7.289 MB / 0.7018 GB, free: 97.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.9983, allocations: 185 kB / 0.7019 GB, free: 97.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/0.9984, allocations: 34.25 kB / 0.702 GB, free: 97.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.9985, allocations: 3.75 kB / 0.702 GB, free: 97.06 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01124/1.01, allocations: 4.054 MB / 0.7059 GB, free: 96.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.01, allocations: 7.938 kB / 0.7059 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005265/1.015, allocations: 1.744 MB / 0.7076 GB, free: 94.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/1.016, allocations: 136.2 kB / 0.7078 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/1.03, allocations: 7.281 MB / 0.7149 GB, free: 88.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/1.031, allocations: 177.5 kB / 0.715 GB, free: 87.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/1.032, allocations: 27.33 kB / 0.7151 GB, free: 87.85 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 (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.0003371/1.032, allocations: 157.8 kB / 0.7152 GB, free: 87.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/1.032, allocations: 106.7 kB / 0.7153 GB, free: 87.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.044, allocations: 4.156 MB / 0.7194 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/1.044, allocations: 8 kB / 0.7194 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.044, allocations: 0 / 0.7194 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/1.044, allocations: 3.469 kB / 0.7194 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.059, allocations: 5.821 MB / 0.7251 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.059, allocations: 0 / 0.7251 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/1.06, allocations: 119.2 kB / 0.7252 GB, free: 79.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005156/1.065, allocations: 1.688 MB / 0.7268 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003492/1.065, allocations: 16 kB / 0.7269 GB, free: 78.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/1.077, allocations: 6.333 MB / 0.733 GB, free: 71.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.077, allocations: 7.938 kB / 0.733 GB, free: 71.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/1.09, allocations: 4.894 MB / 0.7378 GB, free: 66.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/1.091, allocations: 191.6 kB / 0.738 GB, free: 66.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/1.091, allocations: 16 kB / 0.738 GB, free: 66.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.092, allocations: 143.9 kB / 0.7382 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006914/1.093, allocations: 204.4 kB / 0.7384 GB, free: 66.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.926e-05/1.093, allocations: 23.98 kB / 0.7384 GB, free: 66.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000719/1.094, allocations: 0.5397 MB / 0.7389 GB, free: 65.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.094, allocations: 4 kB / 0.7389 GB, free: 65.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002034/1.096, allocations: 0.6452 MB / 0.7395 GB, free: 64.88 MB / 490.7 MB 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 () * 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.0003144/1.096, allocations: 161.5 kB / 0.7397 GB, free: 64.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009001/1.105, allocations: 3.552 MB / 0.7432 GB, free: 61.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.105, allocations: 4.188 kB / 0.7432 GB, free: 61.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004035/1.109, allocations: 1.476 MB / 0.7446 GB, free: 59.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/1.11, allocations: 76.84 kB / 0.7447 GB, free: 59.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/1.114, allocations: 1.511 MB / 0.7462 GB, free: 58.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/1.114, allocations: 1.106 MB / 0.7472 GB, free: 56.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007922/1.115, allocations: 134.9 kB / 0.7474 GB, free: 56.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.115, allocations: 43.42 kB / 0.7474 GB, free: 56.76 MB / 490.7 MB Notification: Performance of SimCode: time 2.324e-06/1.115, allocations: 0 / 0.7474 GB, free: 56.76 MB / 490.7 MB Notification: Performance of Templates: time 0.0424/1.158, allocations: 28.22 MB / 0.775 GB, free: 28.84 MB / 490.7 MB 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)