Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.004117/0.004117, allocations: 183.3 kB / 7.459 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.314/1.314, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.001011/0.001011, allocations: 103.6 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4111/0.4111, allocations: 78.05 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.981e-06, allocations: 0 / 484.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2403, allocations: 69.35 MB / 0.5407 GB, free: 21.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3482, allocations: 100.1 MB / 0.6385 GB, free: 4.598 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.3484, allocations: 83.94 kB / 0.6386 GB, free: 4.516 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.372/0.7204, allocations: 69.35 MB / 0.7063 GB, free: 96.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002612/0.7207, allocations: 59.41 kB / 0.7064 GB, free: 96.58 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01394/0.7347, allocations: 4.239 MB / 0.7105 GB, free: 93.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.7347, allocations: 14.31 kB / 0.7105 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.7457, allocations: 1.674 MB / 0.7122 GB, free: 93.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/0.7495, allocations: 1.674 MB / 0.7138 GB, free: 92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006405/0.7501, allocations: 0.6859 MB / 0.7145 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005449/0.7507, allocations: 125.6 kB / 0.7146 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00472/0.7554, allocations: 2.24 MB / 0.7168 GB, free: 90.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004408/0.7598, allocations: 2.294 MB / 0.719 GB, free: 88.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/0.7599, allocations: 0 / 0.719 GB, free: 88.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002726/0.7602, allocations: 4 kB / 0.719 GB, free: 88.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.7602, allocations: 51.91 kB / 0.7191 GB, free: 88.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.7775, allocations: 9.885 MB / 0.7287 GB, free: 78.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.7809, allocations: 2.054 MB / 0.7307 GB, free: 76.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.783, allocations: 1.469 MB / 0.7322 GB, free: 74.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.7832, allocations: 45.8 kB / 0.7322 GB, free: 74.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002588/0.7858, allocations: 1.706 MB / 0.7339 GB, free: 73.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 4.749e-06/0.7859, allocations: 0 / 0.7339 GB, free: 73.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.04051/0.8264, allocations: 13.17 MB / 0.7467 GB, free: 59.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.8265, allocations: 188.2 kB / 0.7469 GB, free: 59.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.8293, allocations: 1.745 MB / 0.7486 GB, free: 57.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004706/0.8298, allocations: 25.7 kB / 0.7486 GB, free: 57.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.8301, allocations: 0.7153 MB / 0.7493 GB, free: 57.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00147/0.8316, allocations: 0.8273 MB / 0.7501 GB, free: 56.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/0.832, allocations: 0 / 0.7501 GB, free: 56.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.8321, allocations: 399 kB / 0.7505 GB, free: 55.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.8343, allocations: 1.243 MB / 0.7517 GB, free: 54.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.8366, allocations: 1.531 MB / 0.7532 GB, free: 53.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.8389, allocations: 1.358 MB / 0.7546 GB, free: 51.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.8389, allocations: 0 / 0.7546 GB, free: 51.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.0407/0.8796, allocations: 13.19 MB / 0.7674 GB, free: 38.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8796, allocations: 4 kB / 0.7674 GB, free: 38.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.8797, allocations: 12 kB / 0.7674 GB, free: 38.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01808/0.8978, allocations: 5.291 MB / 0.7726 GB, free: 33.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.9003, allocations: 419.4 kB / 0.773 GB, free: 32.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0416/0.9419, allocations: 16.83 MB / 0.7894 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/0.9466, allocations: 0.525 MB / 0.79 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005806/0.9472, allocations: 87.98 kB / 0.79 GB, free: 15.1 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.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 (229): * Single equations (assignments): 223 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008421/0.9481, allocations: 205.2 kB / 0.7902 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007962/0.9489, allocations: 300.2 kB / 0.7905 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0412/0.9901, allocations: 13.44 MB / 0.8036 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/0.9902, allocations: 28 kB / 0.8037 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-05/0.9902, allocations: 16 kB / 0.8037 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.741e-05/0.9903, allocations: 15.86 kB / 0.8037 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05223/1.043, allocations: 16.79 MB / 0.8201 GB, free: 180 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.043, allocations: 0 / 0.8201 GB, free: 180 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.045, allocations: 255.6 kB / 0.8203 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01822/1.063, allocations: 5.151 MB / 0.8254 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006642/1.064, allocations: 19.98 kB / 0.8254 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04452/1.108, allocations: 17.53 MB / 0.8425 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.108, allocations: 0 / 0.8425 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04932/1.157, allocations: 15.49 MB / 0.8576 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.159, allocations: 420.7 kB / 0.858 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.16, allocations: 4 kB / 0.858 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004161/1.164, allocations: 403.7 kB / 0.8584 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/1.165, allocations: 349.3 kB / 0.8588 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003693/1.166, allocations: 63.98 kB / 0.8588 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002292/1.168, allocations: 1.3 MB / 0.8601 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00344/1.171, allocations: 1.014 MB / 0.8611 GB, free: 5.734 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000515/1.172, allocations: 148 kB / 0.8612 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01681/1.189, allocations: 5.657 MB / 0.8667 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.189, allocations: 0 / 0.8667 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01396/1.203, allocations: 4.216 MB / 0.8709 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.205, allocations: 177.1 kB / 0.871 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.219, allocations: 4.27 MB / 0.8752 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002289/1.221, allocations: 1.965 MB / 0.8771 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/1.221, allocations: 0 / 0.8771 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of Templates: time 0.2215/1.443, allocations: 51.61 MB / 0.9275 GB, free: 195.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)