Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003466/0.003466, allocations: 177.5 kB / 7.453 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 221.4 MB / 229.3 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 103.2 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4078/0.4078, allocations: 78.05 MB / 408.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.042e-06/6.142e-06, allocations: 0 / 484.3 MB, free: 4.508 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.246, allocations: 69.34 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.3607, allocations: 101.8 MB / 0.6401 GB, free: 3.039 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.361, allocations: 83.95 kB / 0.6402 GB, free: 2.957 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4548/0.8158, allocations: 99.47 MB / 0.7373 GB, free: 70.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003123/0.8161, allocations: 84 kB / 0.7374 GB, free: 70.52 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01871/0.8348, allocations: 6.008 MB / 0.7433 GB, free: 64.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.8349, allocations: 8.031 kB / 0.7433 GB, free: 64.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/0.8545, allocations: 2.924 MB / 0.7461 GB, free: 61.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005414/0.8599, allocations: 2.268 MB / 0.7484 GB, free: 59.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008278/0.8608, allocations: 0.8753 MB / 0.7492 GB, free: 58.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.8619, allocations: 207.9 kB / 0.7494 GB, free: 57.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007268/0.8692, allocations: 3.447 MB / 0.7528 GB, free: 54.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006947/0.8761, allocations: 3.602 MB / 0.7563 GB, free: 50.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.046e-05/0.8762, allocations: 0 / 0.7563 GB, free: 50.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003937/0.8766, allocations: 0 / 0.7563 GB, free: 50.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/0.8767, allocations: 84 kB / 0.7564 GB, free: 50.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03061/0.9073, allocations: 18.58 MB / 0.7745 GB, free: 31.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.9107, allocations: 2.27 MB / 0.7767 GB, free: 28.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/0.9136, allocations: 2.12 MB / 0.7788 GB, free: 26.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004944/0.9142, allocations: 74.89 kB / 0.7789 GB, free: 26.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003615/0.9178, allocations: 2.489 MB / 0.7813 GB, free: 24.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 5.871e-06/0.9178, allocations: 0 / 0.7813 GB, free: 24.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.05595/0.9738, allocations: 18.39 MB / 0.7993 GB, free: 5.711 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.9739, allocations: 145.8 kB / 0.7994 GB, free: 5.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.9773, allocations: 2.468 MB / 0.8018 GB, free: 3.062 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007326/0.978, allocations: 25.7 kB / 0.8018 GB, free: 3.031 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/0.9786, allocations: 1.186 MB / 0.803 GB, free: 1.828 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002175/0.9807, allocations: 1.258 MB / 0.8042 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/0.9811, allocations: 3.938 kB / 0.8042 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9812, allocations: 441.8 kB / 0.8047 GB, free: 112 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00337/0.9846, allocations: 1.781 MB / 0.8064 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003758/0.9884, allocations: 2.334 MB / 0.8087 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00363/0.992, allocations: 1.988 MB / 0.8106 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.992, allocations: 4 kB / 0.8106 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.06175/1.054, allocations: 18.43 MB / 0.8286 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.054, allocations: 4 kB / 0.8286 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/1.054, allocations: 23.91 kB / 0.8286 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02751/1.081, allocations: 7.192 MB / 0.8357 GB, free: 92 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/1.085, allocations: 0.5734 MB / 0.8362 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06331/1.149, allocations: 22.24 MB / 0.8579 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007092/1.156, allocations: 0.6723 MB / 0.8586 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007741/1.156, allocations: 136 kB / 0.8587 GB, free: 8.316 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 2 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009255/1.157, allocations: 199.1 kB / 0.8589 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.159, allocations: 458.3 kB / 0.8594 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06247/1.221, allocations: 18.83 MB / 0.8778 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.841e-05/1.221, allocations: 36 kB / 0.8778 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-05/1.221, allocations: 35.91 kB / 0.8778 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-05/1.221, allocations: 23.86 kB / 0.8778 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2419/1.463, allocations: 23.41 MB / 0.9007 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/1.463, allocations: 0 / 0.9007 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/1.466, allocations: 393.9 kB / 0.9011 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02404/1.49, allocations: 7.255 MB / 0.9082 GB, free: 164.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008883/1.491, allocations: 16.42 kB / 0.9082 GB, free: 164.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.054/1.545, allocations: 21.98 MB / 0.9296 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.545, allocations: 0 / 0.9296 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06403/1.609, allocations: 21.78 MB / 0.9509 GB, free: 159.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.611, allocations: 0.5576 MB / 0.9515 GB, free: 158.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/1.612, allocations: 7.75 kB / 0.9515 GB, free: 158.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00504/1.617, allocations: 484 kB / 0.9519 GB, free: 158.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001479/1.619, allocations: 456 kB / 0.9524 GB, free: 158.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004034/1.619, allocations: 92.06 kB / 0.9524 GB, free: 158.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002742/1.622, allocations: 1.832 MB / 0.9542 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005439/1.627, allocations: 1.574 MB / 0.9558 GB, free: 157.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006957/1.628, allocations: 150.4 kB / 0.9559 GB, free: 157.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02261/1.651, allocations: 7.929 MB / 0.9637 GB, free: 153.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.651, allocations: 0 / 0.9637 GB, free: 153.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01856/1.669, allocations: 5.932 MB / 0.9695 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.672, allocations: 244.9 kB / 0.9697 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.687, allocations: 6.018 MB / 0.9756 GB, free: 143 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002644/1.69, allocations: 2.651 MB / 0.9781 GB, free: 141 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/1.69, allocations: 0 / 0.9781 GB, free: 141 MB / 0.5573 GB Notification: Performance of Templates: time 0.09815/1.788, allocations: 73.62 MB / 1.05 GB, free: 89.17 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)