Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.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.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.001774/0.001774, allocations: 176.9 kB / 7.461 MB, free: 2.441 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.037/1.037, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0008757/0.0008757, allocations: 100.7 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3518/0.3518, allocations: 78.11 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.232e-06, allocations: 4 kB / 484.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.221, allocations: 69.35 MB / 0.5408 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0986/0.3196, allocations: 98.76 MB / 0.6372 GB, free: 6.168 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.3199, allocations: 75.95 kB / 0.6373 GB, free: 6.094 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3138/0.6337, allocations: 67.97 MB / 0.7037 GB, free: 97.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.6338, allocations: 61.94 kB / 0.7037 GB, free: 97.41 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01163/0.6455, allocations: 4.18 MB / 0.7078 GB, free: 95.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6455, allocations: 9.531 kB / 0.7078 GB, free: 95.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009638/0.6552, allocations: 1.676 MB / 0.7094 GB, free: 94.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.6578, allocations: 1.64 MB / 0.711 GB, free: 93.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/0.6583, allocations: 0.6842 MB / 0.7117 GB, free: 92.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/0.6586, allocations: 120.9 kB / 0.7118 GB, free: 92.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003644/0.6623, allocations: 2.221 MB / 0.714 GB, free: 91.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.6661, allocations: 2.263 MB / 0.7162 GB, free: 90.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.6662, allocations: 1.062 kB / 0.7162 GB, free: 90.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.6664, allocations: 4.953 kB / 0.7162 GB, free: 90.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.6664, allocations: 53.12 kB / 0.7163 GB, free: 90.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.6805, allocations: 9.805 MB / 0.7258 GB, free: 81.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/0.6834, allocations: 2.015 MB / 0.7278 GB, free: 79.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.6851, allocations: 1.457 MB / 0.7292 GB, free: 78.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.6853, allocations: 45.8 kB / 0.7293 GB, free: 78.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002159/0.6875, allocations: 1.678 MB / 0.7309 GB, free: 76.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=247): time 3.857e-06/0.6875, allocations: 4 kB / 0.7309 GB, free: 76.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.03445/0.722, allocations: 13.13 MB / 0.7437 GB, free: 63.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.722, allocations: 180.2 kB / 0.7439 GB, free: 63.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.724, allocations: 1.697 MB / 0.7456 GB, free: 61.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00023/0.7242, allocations: 37.64 kB / 0.7456 GB, free: 61.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.7245, allocations: 0.7035 MB / 0.7463 GB, free: 60.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008966/0.7254, allocations: 0.8159 MB / 0.7471 GB, free: 59.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.7256, allocations: 0 / 0.7471 GB, free: 59.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.7257, allocations: 398.8 kB / 0.7475 GB, free: 59.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.7275, allocations: 1.216 MB / 0.7487 GB, free: 58.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.7294, allocations: 1.504 MB / 0.7501 GB, free: 56.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.7312, allocations: 1.333 MB / 0.7514 GB, free: 55.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.7312, allocations: 0 / 0.7514 GB, free: 55.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03465/0.7659, allocations: 13.1 MB / 0.7642 GB, free: 42.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7659, allocations: 7.984 kB / 0.7642 GB, free: 42.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.7659, allocations: 8 kB / 0.7642 GB, free: 42.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01515/0.7811, allocations: 5.173 MB / 0.7693 GB, free: 36.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.7833, allocations: 415.4 kB / 0.7697 GB, free: 36.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03258/0.8159, allocations: 15.56 MB / 0.7849 GB, free: 20.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/0.8194, allocations: 0.5211 MB / 0.7854 GB, free: 20.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.8197, allocations: 87.97 kB / 0.7855 GB, free: 20.15 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005004/0.8202, allocations: 217.2 kB / 0.7857 GB, free: 19.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/0.8206, allocations: 300.3 kB / 0.786 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03473/0.8553, allocations: 13.4 MB / 0.799 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/0.8554, allocations: 28 kB / 0.7991 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/0.8554, allocations: 19.98 kB / 0.7991 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.456e-05/0.8555, allocations: 19.95 kB / 0.7991 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04104/0.8965, allocations: 16.68 MB / 0.8154 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.8966, allocations: 3.906 kB / 0.8154 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.8982, allocations: 247.7 kB / 0.8156 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01533/0.9136, allocations: 5.168 MB / 0.8207 GB, free: 12 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000315/0.9139, allocations: 20.73 kB / 0.8207 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0364/0.9503, allocations: 17.49 MB / 0.8378 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.9503, allocations: 7.938 kB / 0.8378 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04151/0.9919, allocations: 15.42 MB / 0.8529 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/0.9928, allocations: 408.8 kB / 0.8532 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004982/0.9933, allocations: 7.984 kB / 0.8533 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/0.9964, allocations: 403.7 kB / 0.8536 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009014/0.9973, allocations: 337.4 kB / 0.854 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/0.9975, allocations: 63.98 kB / 0.854 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001649/0.9992, allocations: 1.268 MB / 0.8553 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002434/1.002, allocations: 0.9946 MB / 0.8562 GB, free: 11.17 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003703/1.002, allocations: 147.8 kB / 0.8564 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.015, allocations: 5.464 MB / 0.8617 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.015, allocations: 192 / 0.8617 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01125/1.026, allocations: 4.2 MB / 0.8658 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.028, allocations: 181.1 kB / 0.866 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009088/1.037, allocations: 4.003 MB / 0.8699 GB, free: 13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/1.039, allocations: 1.941 MB / 0.8718 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/1.039, allocations: 4 kB / 0.8718 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.1891/1.228, allocations: 50.75 MB / 0.9213 GB, free: 197.1 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)