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.001035/0.001035, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.3 MB / 213.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 82.7 kB / 261.4 MB, free: 1.621 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.06342/0.06342, allocations: 12.59 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4632/0.4632, allocations: 78.05 MB / 450.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.358e-05, allocations: 2.156 kB / 0.5147 GB, free: 41.79 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 69.33 MB / 0.5824 GB, free: 368 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.2561, allocations: 99.7 MB / 0.6798 GB, free: 12.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.2565, allocations: 79.97 kB / 0.6798 GB, free: 12.44 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3103/0.5668, allocations: 23.7 MB / 0.703 GB, free: 96.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5669, allocations: 3.562 kB / 0.703 GB, free: 96.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.086e-05/0.5669, allocations: 18.41 kB / 0.703 GB, free: 96.71 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.004341/0.5713, allocations: 1.683 MB / 0.7047 GB, free: 96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5713, allocations: 9.781 kB / 0.7047 GB, free: 96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.5746, allocations: 0.545 MB / 0.7052 GB, free: 95.92 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.576, allocations: 0.719 MB / 0.7059 GB, free: 95.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.5762, allocations: 236.2 kB / 0.7061 GB, free: 95.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.5764, allocations: 49.5 kB / 0.7062 GB, free: 95.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001323/0.5777, allocations: 0.7767 MB / 0.7069 GB, free: 95.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.5789, allocations: 0.8129 MB / 0.7077 GB, free: 95.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.5789, allocations: 4 kB / 0.7077 GB, free: 95.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/0.579, allocations: 3.938 kB / 0.7077 GB, free: 95.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.579, allocations: 15.97 kB / 0.7077 GB, free: 95.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.5838, allocations: 3.396 MB / 0.7111 GB, free: 94.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.5851, allocations: 1.238 MB / 0.7123 GB, free: 93.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.5857, allocations: 0.5512 MB / 0.7128 GB, free: 93.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.943e-05/0.5858, allocations: 12.28 kB / 0.7128 GB, free: 93.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.5859, allocations: 38.59 kB / 0.7129 GB, free: 93.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=90): time 2.434e-06/0.5859, allocations: 0 / 0.7129 GB, free: 93.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.01051/0.5964, allocations: 3.969 MB / 0.7167 GB, free: 92.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5964, allocations: 84.61 kB / 0.7168 GB, free: 92.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.5971, allocations: 0.6306 MB / 0.7174 GB, free: 92.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.5972, allocations: 25.7 kB / 0.7175 GB, free: 92.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.5975, allocations: 462.4 kB / 0.7179 GB, free: 92.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.5977, allocations: 309.9 kB / 0.7182 GB, free: 91.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.5977, allocations: 0 / 0.7182 GB, free: 91.85 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.5978, allocations: 341.2 kB / 0.7185 GB, free: 91.53 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.5984, allocations: 427.8 kB / 0.7189 GB, free: 91.33 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.599, allocations: 0.5346 MB / 0.7194 GB, free: 91.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.5996, allocations: 468.2 kB / 0.7199 GB, free: 90.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5996, allocations: 4.031 kB / 0.7199 GB, free: 90.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01115/0.6108, allocations: 4.125 MB / 0.7239 GB, free: 86.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.611, allocations: 0.882 MB / 0.7248 GB, free: 85.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.611, allocations: 0 / 0.7248 GB, free: 85.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/0.616, allocations: 1.674 MB / 0.7264 GB, free: 84.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.6167, allocations: 147.7 kB / 0.7266 GB, free: 84.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.6289, allocations: 7.091 MB / 0.7335 GB, free: 76.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.6303, allocations: 171.1 kB / 0.7336 GB, free: 76.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.6304, allocations: 35.94 kB / 0.7337 GB, free: 76.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.6304, allocations: 4 kB / 0.7337 GB, free: 76.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01053/0.6409, allocations: 3.985 MB / 0.7376 GB, free: 72.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.641, allocations: 7.953 kB / 0.7376 GB, free: 72.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004871/0.6459, allocations: 1.671 MB / 0.7392 GB, free: 70.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.6465, allocations: 135.8 kB / 0.7393 GB, free: 70.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.6585, allocations: 7.086 MB / 0.7463 GB, free: 63.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.6599, allocations: 163.2 kB / 0.7464 GB, free: 63.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.66, allocations: 32 kB / 0.7465 GB, free: 63.4 MB / 474.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.000259/0.6603, allocations: 116.8 kB / 0.7466 GB, free: 63.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.6606, allocations: 106.7 kB / 0.7467 GB, free: 63.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.6715, allocations: 4.078 MB / 0.7506 GB, free: 59.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.6715, allocations: 12 kB / 0.7507 GB, free: 59.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6715, allocations: 0 / 0.7507 GB, free: 59.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6715, allocations: 7.938 kB / 0.7507 GB, free: 59.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.6838, allocations: 5.592 MB / 0.7561 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6838, allocations: 0 / 0.7561 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.6844, allocations: 123.9 kB / 0.7562 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004449/0.6889, allocations: 1.663 MB / 0.7579 GB, free: 51.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.257e-05/0.689, allocations: 4 kB / 0.7579 GB, free: 51.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.6994, allocations: 6.2 MB / 0.7639 GB, free: 45.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6994, allocations: 0 / 0.7639 GB, free: 45.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/0.7108, allocations: 4.827 MB / 0.7686 GB, free: 40.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.7112, allocations: 191.6 kB / 0.7688 GB, free: 40.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.7115, allocations: 3.953 kB / 0.7688 GB, free: 40.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.7125, allocations: 127.8 kB / 0.769 GB, free: 40.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/0.713, allocations: 208.4 kB / 0.7691 GB, free: 39.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.7131, allocations: 24 kB / 0.7692 GB, free: 39.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005937/0.7137, allocations: 492.1 kB / 0.7696 GB, free: 39.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.7137, allocations: 0 / 0.7696 GB, free: 39.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001894/0.7156, allocations: 0.6004 MB / 0.7702 GB, free: 38.73 MB / 474.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.0002614/0.7158, allocations: 135.1 kB / 0.7704 GB, free: 38.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008598/0.7244, allocations: 3.44 MB / 0.7737 GB, free: 35.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7245, allocations: 0 / 0.7737 GB, free: 35.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003654/0.7281, allocations: 1.427 MB / 0.7751 GB, free: 33.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.7289, allocations: 63.36 kB / 0.7752 GB, free: 33.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.7319, allocations: 1.541 MB / 0.7767 GB, free: 32.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.7324, allocations: 1.11 MB / 0.7778 GB, free: 30.92 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005924/0.733, allocations: 132.2 kB / 0.7779 GB, free: 30.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.7332, allocations: 47.44 kB / 0.7779 GB, free: 30.74 MB / 474.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7332, allocations: 0 / 0.7779 GB, free: 30.74 MB / 474.7 MB Notification: Performance of Templates: time 0.0327/0.7659, allocations: 26.24 MB / 0.8036 GB, free: 4.516 MB / 474.7 MB 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)