Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") [: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.003172/0.003172, allocations: 178.3 kB / 7.462 MB, free: 2.484 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.282/1.282, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0009545/0.0009545, allocations: 92.5 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4075/0.4075, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.823e-06, allocations: 0 / 485.4 MB, free: 3.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2872, allocations: 69.5 MB / 0.5419 GB, free: 20.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.4085, allocations: 99.89 MB / 0.6394 GB, free: 3.926 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4087, allocations: 67.97 kB / 0.6395 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4412/0.85, allocations: 73.08 MB / 0.7108 GB, free: 93.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001512/0.8501, allocations: 48.41 kB / 0.7109 GB, free: 93.2 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.009694/0.8598, allocations: 3.582 MB / 0.7144 GB, free: 91.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.8599, allocations: 10.91 kB / 0.7144 GB, free: 91.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.8701, allocations: 1.516 MB / 0.7159 GB, free: 90.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005352/0.8755, allocations: 1.746 MB / 0.7176 GB, free: 89.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000399/0.8759, allocations: 388.1 kB / 0.7179 GB, free: 88.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.8763, allocations: 117.6 kB / 0.7181 GB, free: 88.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003437/0.8798, allocations: 1.946 MB / 0.72 GB, free: 86.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.8829, allocations: 1.785 MB / 0.7217 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.883, allocations: 3.938 kB / 0.7217 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.8832, allocations: 0 / 0.7217 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.8832, allocations: 44 kB / 0.7218 GB, free: 85.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.8985, allocations: 9.522 MB / 0.731 GB, free: 75.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.9006, allocations: 1.39 MB / 0.7324 GB, free: 73.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.9023, allocations: 1.272 MB / 0.7336 GB, free: 72.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.9025, allocations: 41.8 kB / 0.7337 GB, free: 72.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.9025, allocations: 60.5 kB / 0.7337 GB, free: 72.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 3.617e-06/0.9025, allocations: 0 / 0.7337 GB, free: 72.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=223): time 0.02453/0.9271, allocations: 8.567 MB / 0.7421 GB, free: 63.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.9272, allocations: 77.41 kB / 0.7422 GB, free: 63.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.9307, allocations: 2.066 MB / 0.7442 GB, free: 61.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006676/0.9314, allocations: 25.7 kB / 0.7442 GB, free: 61.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.9317, allocations: 0.662 MB / 0.7449 GB, free: 61.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/0.933, allocations: 0.7504 MB / 0.7456 GB, free: 60.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.9331, allocations: 4 kB / 0.7456 GB, free: 60.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9333, allocations: 386.2 kB / 0.746 GB, free: 59.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.9349, allocations: 1.031 MB / 0.747 GB, free: 58.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.9366, allocations: 1.288 MB / 0.7482 GB, free: 57.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.9383, allocations: 1.162 MB / 0.7494 GB, free: 56.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.9383, allocations: 0 / 0.7494 GB, free: 56.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01718/0.9555, allocations: 6.151 MB / 0.7554 GB, free: 50.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9555, allocations: 8 kB / 0.7554 GB, free: 50.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.9556, allocations: 4 kB / 0.7554 GB, free: 50.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/0.9689, allocations: 3.357 MB / 0.7587 GB, free: 46.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006906/0.9758, allocations: 1.643 MB / 0.7603 GB, free: 45.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/0.9983, allocations: 16.64 MB / 0.7765 GB, free: 27.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/1.002, allocations: 354 kB / 0.7769 GB, free: 27.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004452/1.003, allocations: 71.98 kB / 0.7769 GB, free: 27.23 MB / 490.7 MB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005389/1.003, allocations: 167.8 kB / 0.7771 GB, free: 27.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006793/1.004, allocations: 304.2 kB / 0.7774 GB, free: 26.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.024/1.028, allocations: 8.798 MB / 0.786 GB, free: 17.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-05/1.028, allocations: 20 kB / 0.786 GB, free: 17.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.028, allocations: 0 / 0.786 GB, free: 17.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.089e-05/1.028, allocations: 11.95 kB / 0.786 GB, free: 17.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02986/1.058, allocations: 12.15 MB / 0.7979 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.058, allocations: 0 / 0.7979 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/1.06, allocations: 219.7 kB / 0.7981 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01252/1.073, allocations: 4.058 MB / 0.8021 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006145/1.073, allocations: 15.98 kB / 0.8021 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03045/1.104, allocations: 11.95 MB / 0.8137 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.104, allocations: 4 kB / 0.8137 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03079/1.135, allocations: 10.55 MB / 0.824 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/1.136, allocations: 472.6 kB / 0.8245 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009183/1.137, allocations: 8 kB / 0.8245 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/1.14, allocations: 207.8 kB / 0.8247 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000627/1.141, allocations: 221.6 kB / 0.8249 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/1.141, allocations: 48 kB / 0.825 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002661/1.144, allocations: 1.555 MB / 0.8265 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003204/1.147, allocations: 0.8893 MB / 0.8273 GB, free: 7.402 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * 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 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006453/1.148, allocations: 281.8 kB / 0.8276 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.16, allocations: 5.241 MB / 0.8327 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.16, allocations: 0 / 0.8327 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009696/1.17, allocations: 3.107 MB / 0.8358 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.173, allocations: 169.8 kB / 0.8359 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/1.185, allocations: 4.774 MB / 0.8406 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/1.187, allocations: 1.941 MB / 0.8425 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/1.187, allocations: 0 / 0.8425 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.0764/1.263, allocations: 46.07 MB / 0.8875 GB, free: 9.617 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)