Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.003921/0.003921, 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.218/1.218, 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.0008898/0.0008898, allocations: 96.02 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4785/0.4785, allocations: 78.07 MB / 409 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1606/0.6391, allocations: 75.48 MB / 484.4 MB, free: 4.332 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.9743, allocations: 69.35 MB / 0.5408 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/1.109, allocations: 98.46 MB / 0.637 GB, free: 6.324 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/1.109, allocations: 75.95 kB / 0.637 GB, free: 6.25 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.1187/1.228, allocations: 33.26 MB / 0.6695 GB, free: 4.711 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.228, allocations: 11.94 kB / 0.6695 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0061/1.234, allocations: 0.5797 MB / 0.6701 GB, free: 4.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/1.237, allocations: 0.7901 MB / 0.6709 GB, free: 3.273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000416/1.237, allocations: 236.2 kB / 0.6711 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/1.237, allocations: 55.89 kB / 0.6711 GB, free: 2.953 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00242/1.24, allocations: 0.8162 MB / 0.6719 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/1.242, allocations: 0.8368 MB / 0.6728 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/1.242, allocations: 0 / 0.6728 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/1.242, allocations: 0 / 0.6728 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/1.243, allocations: 20 kB / 0.6728 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2397/1.482, allocations: 3.805 MB / 0.6765 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/1.483, allocations: 0.621 MB / 0.6771 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/1.484, allocations: 0.5176 MB / 0.6776 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/1.484, allocations: 25.47 kB / 0.6776 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/1.485, allocations: 0.6464 MB / 0.6783 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.016e-06/1.485, allocations: 0 / 0.6783 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01257/1.498, allocations: 4.194 MB / 0.6824 GB, free: 140.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/1.498, allocations: 113.7 kB / 0.6825 GB, free: 140.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/1.499, allocations: 0.8481 MB / 0.6833 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003086/1.5, allocations: 25.7 kB / 0.6833 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/1.5, allocations: 330.4 kB / 0.6836 GB, free: 139.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/1.501, allocations: 334.3 kB / 0.6839 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/1.501, allocations: 0 / 0.6839 GB, free: 139.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/1.501, allocations: 341.3 kB / 0.6843 GB, free: 139.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007712/1.502, allocations: 457.6 kB / 0.6847 GB, free: 139.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/1.502, allocations: 0.5677 MB / 0.6853 GB, free: 139.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/1.503, allocations: 0.4977 MB / 0.6858 GB, free: 139.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.503, allocations: 0 / 0.6858 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01254/1.516, allocations: 4.216 MB / 0.6899 GB, free: 138.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.516, allocations: 10.81 kB / 0.6899 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.516, allocations: 5.562 kB / 0.6899 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005534/1.521, allocations: 1.574 MB / 0.6914 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/1.523, allocations: 205 kB / 0.6916 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/1.536, allocations: 5.96 MB / 0.6974 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.539, allocations: 189.8 kB / 0.6976 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/1.539, allocations: 37.97 kB / 0.6977 GB, free: 137.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 13 * 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 (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003812/1.539, allocations: 162.6 kB / 0.6978 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/1.539, allocations: 125.9 kB / 0.6979 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.553, allocations: 4.297 MB / 0.7021 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/1.553, allocations: 13.62 kB / 0.7021 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.275e-05/1.553, allocations: 6.938 kB / 0.7021 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.953e-05/1.553, allocations: 8.688 kB / 0.7022 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.57, allocations: 5.714 MB / 0.7077 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.57, allocations: 2.719 kB / 0.7077 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008404/1.57, allocations: 102.6 kB / 0.7078 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004894/1.575, allocations: 1.525 MB / 0.7093 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/1.576, allocations: 12.53 kB / 0.7093 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/1.59, allocations: 7.146 MB / 0.7163 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/1.59, allocations: 0 / 0.7163 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01435/1.604, allocations: 5.061 MB / 0.7213 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01631/1.62, allocations: 6.187 MB / 0.7273 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007647/1.621, allocations: 229.2 kB / 0.7275 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005579/1.622, allocations: 0.75 kB / 0.7275 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.624, allocations: 148.8 kB / 0.7277 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004433/1.624, allocations: 118.6 kB / 0.7278 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.624, allocations: 30.44 kB / 0.7278 GB, free: 128.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001326/1.625, allocations: 0.645 MB / 0.7284 GB, free: 128.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002605/1.628, allocations: 394.8 kB / 0.7288 GB, free: 128.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (65): * Single equations (assignments): 62 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004102/1.629, allocations: 148.8 kB / 0.7289 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006308/1.635, allocations: 1.975 MB / 0.7309 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.635, allocations: 1.219 kB / 0.7309 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004347/1.639, allocations: 1.498 MB / 0.7323 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/1.641, allocations: 93.16 kB / 0.7324 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/1.647, allocations: 1.828 MB / 0.7342 GB, free: 125 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.648, allocations: 1.235 MB / 0.7354 GB, free: 123.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.494e-06/1.648, allocations: 0 / 0.7354 GB, free: 123.9 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)