Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.002087/0.002087, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.068/1.068, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0008648/0.0008648, allocations: 83.52 kB / 280.1 MB, free: 1.172 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3667/0.3667, allocations: 78.08 MB / 409 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1163/0.483, allocations: 75.5 MB / 484.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.7197, allocations: 69.33 MB / 0.5408 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.8238, allocations: 100.7 MB / 0.6391 GB, free: 4.172 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.8241, allocations: 79.95 kB / 0.6392 GB, free: 4.094 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.4162/1.24, allocations: 104.5 MB / 0.7413 GB, free: 66.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/1.24, allocations: 8 kB / 0.7413 GB, free: 66.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/1.257, allocations: 2.931 MB / 0.7441 GB, free: 63.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004398/1.261, allocations: 2.233 MB / 0.7463 GB, free: 61.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006481/1.262, allocations: 0.883 MB / 0.7472 GB, free: 59.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006055/1.263, allocations: 207.9 kB / 0.7474 GB, free: 59.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00567/1.268, allocations: 3.427 MB / 0.7507 GB, free: 56.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005418/1.274, allocations: 3.586 MB / 0.7542 GB, free: 52.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.949e-05/1.274, allocations: 0 / 0.7542 GB, free: 52.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/1.274, allocations: 4 kB / 0.7542 GB, free: 52.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/1.274, allocations: 84 kB / 0.7543 GB, free: 52.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02759/1.302, allocations: 18.53 MB / 0.7724 GB, free: 33.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/1.305, allocations: 2.262 MB / 0.7746 GB, free: 30.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/1.307, allocations: 2.1 MB / 0.7767 GB, free: 28.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/1.308, allocations: 70.91 kB / 0.7767 GB, free: 28.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003175/1.311, allocations: 2.473 MB / 0.7791 GB, free: 26.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 4.699e-06/1.311, allocations: 0 / 0.7791 GB, free: 26.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.04937/1.36, allocations: 18.37 MB / 0.7971 GB, free: 7.707 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/1.36, allocations: 141.8 kB / 0.7972 GB, free: 7.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/1.364, allocations: 2.444 MB / 0.7996 GB, free: 5.086 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007194/1.364, allocations: 29.73 kB / 0.7996 GB, free: 5.051 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/1.365, allocations: 1.174 MB / 0.8008 GB, free: 3.859 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00186/1.367, allocations: 1.251 MB / 0.802 GB, free: 2.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/1.367, allocations: 0 / 0.802 GB, free: 2.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/1.367, allocations: 441.7 kB / 0.8024 GB, free: 2.152 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/1.37, allocations: 1.773 MB / 0.8041 GB, free: 388 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/1.373, allocations: 2.318 MB / 0.8064 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/1.376, allocations: 1.965 MB / 0.8083 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/1.376, allocations: 4 kB / 0.8083 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05356/1.43, allocations: 18.42 MB / 0.8263 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.43, allocations: 8 kB / 0.8263 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/1.43, allocations: 12 kB / 0.8263 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02445/1.454, allocations: 7.203 MB / 0.8334 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/1.457, allocations: 0.5539 MB / 0.8339 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05542/1.513, allocations: 22.27 MB / 0.8557 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005766/1.519, allocations: 0.6762 MB / 0.8563 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006696/1.519, allocations: 140 kB / 0.8564 GB, free: 10.38 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.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 (329): * Single equations (assignments): 326 * 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.0008428/1.52, allocations: 198.8 kB / 0.8566 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.521, allocations: 454.4 kB / 0.8571 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0544/1.576, allocations: 18.8 MB / 0.8754 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/1.576, allocations: 36 kB / 0.8755 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.047e-05/1.576, allocations: 28 kB / 0.8755 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.694e-05/1.576, allocations: 19.92 kB / 0.8755 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2175/1.793, allocations: 23.37 MB / 0.8983 GB, free: 171 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/1.793, allocations: 3.938 kB / 0.8983 GB, free: 171 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/1.796, allocations: 380.1 kB / 0.8987 GB, free: 171 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02145/1.817, allocations: 7.256 MB / 0.9058 GB, free: 170.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007902/1.818, allocations: 22.23 kB / 0.9058 GB, free: 170.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04773/1.866, allocations: 22 MB / 0.9273 GB, free: 168.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.866, allocations: 0 / 0.9273 GB, free: 168.2 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05376/1.919, allocations: 21.72 MB / 0.9485 GB, free: 167.5 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05996/1.979, allocations: 25.22 MB / 0.9731 GB, free: 162 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.981, allocations: 0.5508 MB / 0.9737 GB, free: 161.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007444/1.981, allocations: 5.688 kB / 0.9737 GB, free: 161.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003985/1.985, allocations: 483.3 kB / 0.9741 GB, free: 161.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/1.987, allocations: 462.7 kB / 0.9746 GB, free: 161.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003266/1.987, allocations: 91.47 kB / 0.9747 GB, free: 161.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002065/1.989, allocations: 1.807 MB / 0.9764 GB, free: 160.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003896/1.993, allocations: 1.565 MB / 0.9779 GB, free: 160.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.0004432/1.993, allocations: 163.6 kB / 0.9781 GB, free: 160.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0194/2.013, allocations: 7.894 MB / 0.9858 GB, free: 158 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.013, allocations: 3.312 kB / 0.9858 GB, free: 158 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01605/2.029, allocations: 5.923 MB / 0.9916 GB, free: 153.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/2.031, allocations: 250 kB / 0.9918 GB, free: 153.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/2.044, allocations: 5.883 MB / 0.9976 GB, free: 147.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/2.046, allocations: 2.668 MB / 1 GB, free: 145.7 MB / 0.573 GB Notification: Performance of SimCode: time 9.32e-07/2.046, allocations: 0 / 1 GB, free: 145.7 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)