Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.002109/0.002109, allocations: 186 kB / 7.453 MB, free: 2.52 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.202/1.202, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0009548/0.0009548, allocations: 96.94 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4003/0.4003, allocations: 78.06 MB / 408.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.83e-06, allocations: 0 / 484.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2431, allocations: 69.35 MB / 0.5407 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.3561, allocations: 101.4 MB / 0.6397 GB, free: 3.441 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.3564, allocations: 83.95 kB / 0.6398 GB, free: 3.359 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.5096/0.8661, allocations: 98.57 MB / 0.7361 GB, free: 71.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002126/0.8663, allocations: 91.94 kB / 0.7362 GB, free: 71.75 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01668/0.883, allocations: 5.969 MB / 0.742 GB, free: 65.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.883, allocations: 8.031 kB / 0.742 GB, free: 65.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01853/0.9016, allocations: 2.927 MB / 0.7448 GB, free: 62.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/0.9058, allocations: 2.279 MB / 0.7471 GB, free: 60.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006549/0.9065, allocations: 0.8791 MB / 0.7479 GB, free: 59.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005859/0.9071, allocations: 204 kB / 0.7481 GB, free: 59.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006025/0.9131, allocations: 3.435 MB / 0.7515 GB, free: 55.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006064/0.9192, allocations: 3.59 MB / 0.755 GB, free: 52.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.086e-05/0.9193, allocations: 4 kB / 0.755 GB, free: 52.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/0.9197, allocations: 0 / 0.755 GB, free: 52.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.399e-05/0.9197, allocations: 84 kB / 0.7551 GB, free: 52.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03047/0.9502, allocations: 18.52 MB / 0.7732 GB, free: 32.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.9535, allocations: 2.27 MB / 0.7754 GB, free: 30.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/0.9564, allocations: 2.112 MB / 0.7774 GB, free: 28.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.9568, allocations: 66.91 kB / 0.7775 GB, free: 28.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003576/0.9604, allocations: 2.469 MB / 0.7799 GB, free: 25.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=383): time 5.531e-06/0.9604, allocations: 0 / 0.7799 GB, free: 25.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=383): time 0.05471/1.015, allocations: 18.37 MB / 0.7978 GB, free: 7.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/1.015, allocations: 141.8 kB / 0.798 GB, free: 6.926 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003352/1.019, allocations: 2.436 MB / 0.8004 GB, free: 4.477 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007207/1.019, allocations: 25.7 kB / 0.8004 GB, free: 4.445 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/1.02, allocations: 1.182 MB / 0.8015 GB, free: 3.246 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002232/1.022, allocations: 1.254 MB / 0.8028 GB, free: 1.973 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/1.022, allocations: 0 / 0.8028 GB, free: 1.973 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/1.022, allocations: 441.8 kB / 0.8032 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002986/1.025, allocations: 1.773 MB / 0.8049 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003689/1.029, allocations: 2.322 MB / 0.8072 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003608/1.033, allocations: 1.968 MB / 0.8091 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1.033, allocations: 4 kB / 0.8091 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.0605/1.093, allocations: 18.42 MB / 0.8271 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.093, allocations: 9.969 kB / 0.8271 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/1.093, allocations: 16 kB / 0.8271 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02691/1.12, allocations: 7.192 MB / 0.8341 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/1.124, allocations: 0.5578 MB / 0.8347 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06314/1.187, allocations: 22.27 MB / 0.8564 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006122/1.193, allocations: 0.6724 MB / 0.8571 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004919/1.194, allocations: 132 kB / 0.8572 GB, free: 9.777 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis 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 (331): * Single equations (assignments): 328 * 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.0008643/1.194, allocations: 200.1 kB / 0.8574 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008668/1.195, allocations: 458.3 kB / 0.8578 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06187/1.257, allocations: 18.8 MB / 0.8762 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-05/1.257, allocations: 36 kB / 0.8762 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.143e-05/1.257, allocations: 28 kB / 0.8763 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.802e-05/1.257, allocations: 19.92 kB / 0.8763 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2144/1.472, allocations: 23.38 MB / 0.8991 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.472, allocations: 3.406 kB / 0.8991 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/1.474, allocations: 388.6 kB / 0.8995 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02448/1.499, allocations: 7.277 MB / 0.9066 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000742/1.5, allocations: 20.62 kB / 0.9066 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0533/1.553, allocations: 22 MB / 0.9281 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.553, allocations: 0 / 0.9281 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06284/1.616, allocations: 21.74 MB / 0.9493 GB, free: 160.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.617, allocations: 0.5595 MB / 0.9499 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009275/1.618, allocations: 3.656 kB / 0.9499 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004546/1.623, allocations: 481.9 kB / 0.9503 GB, free: 159.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001282/1.624, allocations: 459.5 kB / 0.9508 GB, free: 159.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004004/1.624, allocations: 96.17 kB / 0.9509 GB, free: 159.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002244/1.627, allocations: 1.794 MB / 0.9526 GB, free: 159 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003779/1.63, allocations: 1.57 MB / 0.9542 GB, free: 158.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005013/1.631, allocations: 147.3 kB / 0.9543 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02107/1.652, allocations: 7.907 MB / 0.962 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.652, allocations: 4.25 kB / 0.962 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01767/1.67, allocations: 5.953 MB / 0.9678 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/1.672, allocations: 248.3 kB / 0.9681 GB, free: 150.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.688, allocations: 5.909 MB / 0.9738 GB, free: 145 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002638/1.69, allocations: 2.646 MB / 0.9764 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/1.69, allocations: 0 / 0.9764 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.1353/1.826, allocations: 73.27 MB / 1.048 GB, free: 91.33 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)