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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [: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.003018/0.003018, allocations: 185.6 kB / 7.459 MB, free: 2.516 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.227/1.227, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.001004/0.001004, allocations: 101.3 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.4706/0.4706, allocations: 78.06 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1638/0.6344, allocations: 75.48 MB / 484.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.959, allocations: 69.35 MB / 0.5408 GB, free: 21.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/1.094, allocations: 101.8 MB / 0.6402 GB, free: 2.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.095, allocations: 75.95 kB / 0.6403 GB, free: 2.906 MB / 458.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.5545/1.649, allocations: 105.6 MB / 0.7434 GB, free: 64.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.649, allocations: 8 kB / 0.7434 GB, free: 64.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/1.668, allocations: 2.927 MB / 0.7463 GB, free: 61.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/1.676, allocations: 2.249 MB / 0.7484 GB, free: 59.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/1.677, allocations: 0.8947 MB / 0.7493 GB, free: 58.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/1.679, allocations: 199.9 kB / 0.7495 GB, free: 57.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009063/1.688, allocations: 3.443 MB / 0.7529 GB, free: 54.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/1.699, allocations: 3.598 MB / 0.7564 GB, free: 50.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/1.699, allocations: 3.984 kB / 0.7564 GB, free: 50.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/1.7, allocations: 4 kB / 0.7564 GB, free: 50.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/1.7, allocations: 84 kB / 0.7565 GB, free: 50.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03922/1.74, allocations: 18.58 MB / 0.7746 GB, free: 31.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/1.744, allocations: 2.271 MB / 0.7768 GB, free: 28.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0039/1.748, allocations: 2.124 MB / 0.7789 GB, free: 26.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007741/1.749, allocations: 70.92 kB / 0.779 GB, free: 26.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005427/1.754, allocations: 2.481 MB / 0.7814 GB, free: 24.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 1.026e-05/1.754, allocations: 0 / 0.7814 GB, free: 24.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.05637/1.81, allocations: 18.4 MB / 0.7994 GB, free: 5.629 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/1.811, allocations: 145.8 kB / 0.7995 GB, free: 5.461 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005092/1.816, allocations: 2.472 MB / 0.8019 GB, free: 2.977 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.817, allocations: 29.73 kB / 0.802 GB, free: 2.941 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007113/1.817, allocations: 1.178 MB / 0.8031 GB, free: 1.746 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002753/1.82, allocations: 1.258 MB / 0.8043 GB, free: 480 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006496/1.821, allocations: 0 / 0.8043 GB, free: 480 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/1.821, allocations: 445.7 kB / 0.8048 GB, free: 28 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003969/1.825, allocations: 1.781 MB / 0.8065 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/1.829, allocations: 2.338 MB / 0.8088 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/1.833, allocations: 1.98 MB / 0.8107 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/1.833, allocations: 4 kB / 0.8107 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.06035/1.894, allocations: 18.43 MB / 0.8287 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.894, allocations: 10.03 kB / 0.8287 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/1.894, allocations: 15.91 kB / 0.8287 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02775/1.921, allocations: 7.192 MB / 0.8358 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/1.926, allocations: 0.5734 MB / 0.8363 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06603/1.992, allocations: 22.24 MB / 0.858 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007035/1.999, allocations: 0.6685 MB / 0.8587 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/2, allocations: 140 kB / 0.8588 GB, free: 8.238 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.002052/2.002, allocations: 207 kB / 0.859 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002368/2.005, allocations: 454.3 kB / 0.8595 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05887/2.064, allocations: 18.83 MB / 0.8779 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/2.064, allocations: 43.98 kB / 0.8779 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.524e-05/2.064, allocations: 35.84 kB / 0.8779 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/2.064, allocations: 19.92 kB / 0.8779 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2867/2.351, allocations: 23.4 MB / 0.9008 GB, free: 163.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/2.351, allocations: 0 / 0.9008 GB, free: 163.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/2.353, allocations: 391.2 kB / 0.9012 GB, free: 163.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02336/2.377, allocations: 7.251 MB / 0.9083 GB, free: 163.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000978/2.378, allocations: 25.59 kB / 0.9083 GB, free: 163.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05339/2.431, allocations: 21.97 MB / 0.9297 GB, free: 160.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/2.431, allocations: 0 / 0.9297 GB, free: 160.2 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06274/2.494, allocations: 21.77 MB / 0.951 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06558/2.56, allocations: 25.29 MB / 0.9757 GB, free: 143 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/2.561, allocations: 0.5611 MB / 0.9762 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/2.563, allocations: 4 kB / 0.9762 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005001/2.568, allocations: 483.1 kB / 0.9767 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/2.569, allocations: 461.3 kB / 0.9771 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003685/2.57, allocations: 95.61 kB / 0.9772 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002868/2.573, allocations: 1.829 MB / 0.979 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00753/2.58, allocations: 1.571 MB / 0.9806 GB, free: 138.6 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.0007756/2.581, allocations: 158.3 kB / 0.9807 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02072/2.602, allocations: 7.924 MB / 0.9884 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/2.602, allocations: 0 / 0.9884 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01848/2.62, allocations: 5.934 MB / 0.9942 GB, free: 126 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/2.624, allocations: 245.1 kB / 0.9945 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/2.644, allocations: 6.034 MB / 1 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002768/2.647, allocations: 2.692 MB / 1.003 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of SimCode: time 3.406e-06/2.647, allocations: 0 / 1.003 GB, free: 118.3 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)