Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0008704/0.0008705, allocations: 176.1 kB / 16.12 MB, free: 5.664 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.365/1.365, allocations: 205.4 MB / 222.3 MB, free: 9.035 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.0007776/0.0007776, allocations: 96.8 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.2847/0.2847, allocations: 42.28 MB / 361.2 MB, free: 49.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 16 kB / 429.4 MB, free: 7.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1003, allocations: 57.56 MB / 487 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3068/0.4072, allocations: 93.53 MB / 0.5669 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4075, allocations: 81.56 kB / 0.567 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06381/0.4713, allocations: 23.81 MB / 0.5902 GB, free: 6.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4713, allocations: 4 kB / 0.5902 GB, free: 6.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.57e-05/0.4714, allocations: 20 kB / 0.5902 GB, free: 6.227 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.005161/0.4766, allocations: 1.857 MB / 0.5921 GB, free: 4.316 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4767, allocations: 8.875 kB / 0.5921 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/0.4801, allocations: 0.5526 MB / 0.5926 GB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.4817, allocations: 0.75 MB / 0.5933 GB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.482, allocations: 268.2 kB / 0.5936 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.4822, allocations: 75.91 kB / 0.5937 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.4847, allocations: 1.161 MB / 0.5948 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4848, allocations: 0 / 0.5948 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.4848, allocations: 28 kB / 0.5948 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.4849, allocations: 16 kB / 0.5948 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.4873, allocations: 1.126 MB / 0.5959 GB, free: 244 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007127/0.4945, allocations: 3.562 MB / 0.5994 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.4968, allocations: 1.522 MB / 0.6009 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.4983, allocations: 0.8203 MB / 0.6017 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-05/0.4984, allocations: 16.97 kB / 0.6017 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.4985, allocations: 47.55 kB / 0.6018 GB, free: 9.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 2.394e-06/0.4985, allocations: 0 / 0.6018 GB, free: 9.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02588/0.5244, allocations: 8.169 MB / 0.6098 GB, free: 1.766 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.5244, allocations: 90.11 kB / 0.6098 GB, free: 1.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.5256, allocations: 0.805 MB / 0.6106 GB, free: 0.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.5258, allocations: 41.7 kB / 0.6107 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.5262, allocations: 468.5 kB / 0.6111 GB, free: 328 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.5265, allocations: 315.3 kB / 0.6114 GB, free: 8 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.5266, allocations: 16.08 kB / 0.6114 GB, free: 15.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5267, allocations: 345.9 kB / 0.6118 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.5282, allocations: 0.6657 MB / 0.6124 GB, free: 14.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.5297, allocations: 0.7969 MB / 0.6132 GB, free: 14.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/0.5451, allocations: 4.732 MB / 0.6178 GB, free: 9.387 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.5452, allocations: 0 / 0.6178 GB, free: 9.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01354/0.5587, allocations: 4.826 MB / 0.6225 GB, free: 4.547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.5589, allocations: 159.8 kB / 0.6227 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5589, allocations: 0 / 0.6227 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006351/0.5653, allocations: 2.105 MB / 0.6247 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.566, allocations: 151.8 kB / 0.6249 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.5867, allocations: 9.518 MB / 0.6342 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.588, allocations: 187.2 kB / 0.6343 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/0.5881, allocations: 28 kB / 0.6344 GB, free: 8.242 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5882, allocations: 4 kB / 0.6344 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01326/0.6014, allocations: 4.675 MB / 0.6389 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.6015, allocations: 4 kB / 0.6389 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00635/0.6078, allocations: 2.097 MB / 0.641 GB, free: 1.445 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.6086, allocations: 151.8 kB / 0.6411 GB, free: 1.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/0.6291, allocations: 9.51 MB / 0.6504 GB, free: 7.652 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.6304, allocations: 175.2 kB / 0.6506 GB, free: 7.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.718e-05/0.6305, allocations: 35.98 kB / 0.6506 GB, free: 7.445 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.0005453/0.631, allocations: 304.8 kB / 0.6509 GB, free: 7.141 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.6312, allocations: 110.6 kB / 0.651 GB, free: 7.031 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.6445, allocations: 4.833 MB / 0.6557 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.6446, allocations: 8 kB / 0.6557 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6446, allocations: 0 / 0.6557 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.6446, allocations: 7.984 kB / 0.6558 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/0.6604, allocations: 6.5 MB / 0.6621 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.6605, allocations: 3.984 kB / 0.6621 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.6611, allocations: 112 kB / 0.6622 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005938/0.6671, allocations: 2.066 MB / 0.6642 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.6672, allocations: 16 kB / 0.6642 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.6848, allocations: 8.221 MB / 0.6723 GB, free: 0.957 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6849, allocations: 4 kB / 0.6723 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2176/0.9025, allocations: 5.8 MB / 0.6779 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.9029, allocations: 195.9 kB / 0.6781 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.9031, allocations: 16.56 kB / 0.6781 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.9041, allocations: 139.3 kB / 0.6783 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005939/0.9047, allocations: 206.6 kB / 0.6785 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.9048, allocations: 24.09 kB / 0.6785 GB, free: 127.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007339/0.9055, allocations: 0.5496 MB / 0.679 GB, free: 127.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9055, allocations: 1.375 kB / 0.679 GB, free: 127.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001773/0.9073, allocations: 0.6518 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.0002921/0.9076, allocations: 150.3 kB / 0.6798 GB, free: 127 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01111/0.9187, allocations: 4.256 MB / 0.684 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.9188, allocations: 0 / 0.684 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004894/0.9237, allocations: 1.739 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.001194/0.9249, allocations: 93.58 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.003743/0.9287, allocations: 2.349 MB / 0.6881 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.9292, allocations: 1.073 MB / 0.6891 GB, free: 124.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004142/0.9296, allocations: 78.27 kB / 0.6892 GB, free: 124.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.9298, allocations: 48.25 kB / 0.6892 GB, free: 124.7 MB / 490.7 MB Notification: Performance of SimCode: time 7.12e-07/0.9298, allocations: 0 / 0.6892 GB, free: 124.7 MB / 490.7 MB Notification: Performance of Templates: time 0.03709/0.9669, allocations: 26.61 MB / 0.7152 GB, free: 123.3 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR.pipe 2>&1)