Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 172 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 222.3 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007709/0.0007711, allocations: 89.36 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.291/0.291, allocations: 42.29 MB / 361.2 MB, free: 49.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004206, allocations: 19.98 kB / 429.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2779/0.3821, allocations: 93.53 MB / 0.5669 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.3823, allocations: 75.97 kB / 0.567 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06542/0.4478, allocations: 23.8 MB / 0.5902 GB, free: 6.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4478, allocations: 0 / 0.5902 GB, free: 6.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.929e-05/0.4479, allocations: 20 kB / 0.5902 GB, free: 6.25 MB / 410.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.005342/0.4533, allocations: 1.862 MB / 0.5921 GB, free: 4.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4533, allocations: 8.031 kB / 0.5921 GB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.4566, allocations: 0.5526 MB / 0.5926 GB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.4582, allocations: 0.7656 MB / 0.5934 GB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.4585, allocations: 260.2 kB / 0.5936 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.4587, allocations: 67.91 kB / 0.5937 GB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.4612, allocations: 1.165 MB / 0.5948 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.4612, allocations: 3.984 kB / 0.5948 GB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.4613, allocations: 28 kB / 0.5948 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.4613, allocations: 20 kB / 0.5949 GB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.4638, allocations: 1.12 MB / 0.5959 GB, free: 256 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00654/0.4703, allocations: 3.565 MB / 0.5994 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.4728, allocations: 1.531 MB / 0.6009 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.4743, allocations: 0.8086 MB / 0.6017 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.787e-05/0.4744, allocations: 16.98 kB / 0.6017 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4745, allocations: 47.56 kB / 0.6018 GB, free: 9.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 3.316e-06/0.4745, allocations: 0 / 0.6018 GB, free: 9.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02651/0.501, allocations: 8.165 MB / 0.6097 GB, free: 1.785 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.5011, allocations: 90.11 kB / 0.6098 GB, free: 1.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.5025, allocations: 0.805 MB / 0.6106 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.5027, allocations: 41.7 kB / 0.6107 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.5032, allocations: 476.4 kB / 0.6111 GB, free: 340 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005883/0.5038, allocations: 307.4 kB / 0.6114 GB, free: 28 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.5039, allocations: 20 kB / 0.6114 GB, free: 8 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5041, allocations: 337.9 kB / 0.6117 GB, free: 15.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.5057, allocations: 0.6735 MB / 0.6124 GB, free: 15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.5073, allocations: 0.7891 MB / 0.6132 GB, free: 14.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/0.5231, allocations: 4.74 MB / 0.6178 GB, free: 9.402 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.5232, allocations: 0 / 0.6178 GB, free: 9.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01407/0.5372, allocations: 4.826 MB / 0.6225 GB, free: 4.562 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.5374, allocations: 156.7 kB / 0.6227 GB, free: 4.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5375, allocations: 4 kB / 0.6227 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006508/0.544, allocations: 2.101 MB / 0.6247 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.5448, allocations: 147.8 kB / 0.6249 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.5666, allocations: 9.516 MB / 0.6342 GB, free: 8.477 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.5682, allocations: 195.2 kB / 0.6343 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.5684, allocations: 24 kB / 0.6344 GB, free: 8.262 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5684, allocations: 4 kB / 0.6344 GB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01379/0.5822, allocations: 4.683 MB / 0.6389 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5823, allocations: 0 / 0.6389 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006605/0.5889, allocations: 2.097 MB / 0.641 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/0.5897, allocations: 143.8 kB / 0.6411 GB, free: 1.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/0.6121, allocations: 9.517 MB / 0.6504 GB, free: 7.668 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.6136, allocations: 183.2 kB / 0.6506 GB, free: 7.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.6138, allocations: 31.98 kB / 0.6506 GB, free: 7.457 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real 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 (72): * Single equations (assignments): 71 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.001018/0.6148, allocations: 295.8 kB / 0.6509 GB, free: 7.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004557/0.6153, allocations: 110.6 kB / 0.651 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.6295, allocations: 4.833 MB / 0.6557 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.6295, allocations: 16 kB / 0.6558 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6295, allocations: 0 / 0.6558 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.6296, allocations: 3.984 kB / 0.6558 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.6468, allocations: 6.511 MB / 0.6621 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.6469, allocations: 0 / 0.6621 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000731/0.6476, allocations: 111.9 kB / 0.6622 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006403/0.654, allocations: 2.058 MB / 0.6642 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.6543, allocations: 16 kB / 0.6642 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/0.6736, allocations: 8.229 MB / 0.6723 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6736, allocations: 0 / 0.6723 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2467/0.9203, allocations: 5.804 MB / 0.678 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.9207, allocations: 194.7 kB / 0.6781 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.9209, allocations: 20.09 kB / 0.6782 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.9219, allocations: 136.7 kB / 0.6783 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006736/0.9226, allocations: 204.6 kB / 0.6785 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.9227, allocations: 22.28 kB / 0.6785 GB, free: 127.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007403/0.9234, allocations: 0.5502 MB / 0.679 GB, free: 127.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9234, allocations: 0 / 0.679 GB, free: 127.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00219/0.9256, allocations: 0.6475 MB / 0.6797 GB, free: 127.1 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 () * 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.0003216/0.926, allocations: 155.9 kB / 0.6798 GB, free: 127 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01083/0.9368, allocations: 4.253 MB / 0.684 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.9369, allocations: 0 / 0.684 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004722/0.9416, allocations: 1.741 MB / 0.6857 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.9429, allocations: 89.42 kB / 0.6858 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.9464, allocations: 2.354 MB / 0.6881 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.9469, allocations: 1.077 MB / 0.6891 GB, free: 124.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004226/0.9473, allocations: 79.19 kB / 0.6892 GB, free: 124.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.9475, allocations: 49.92 kB / 0.6892 GB, free: 124.7 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.9475, allocations: 0 / 0.6892 GB, free: 124.7 MB / 490.7 MB Notification: Performance of Templates: time 0.03993/0.9875, allocations: 26.59 MB / 0.7152 GB, free: 123.2 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.pipe 2>&1)