Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.003201/0.003201, allocations: 181.2 kB / 7.455 MB, free: 2.246 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.326/1.326, allocations: 221.4 MB / 229.3 MB, free: 3.348 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.001014/0.001014, allocations: 104.6 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4929/0.4929, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1794/0.6723, allocations: 75.65 MB / 485.5 MB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/1.011, allocations: 69.5 MB / 0.542 GB, free: 20.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/1.143, allocations: 98.75 MB / 0.6384 GB, free: 5.16 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/1.144, allocations: 79.95 kB / 0.6385 GB, free: 5.082 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.2995/1.443, allocations: 38.02 MB / 0.6756 GB, free: 141.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.443, allocations: 10.28 kB / 0.6756 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/1.447, allocations: 0.5831 MB / 0.6762 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.448, allocations: 0.7774 MB / 0.6769 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/1.448, allocations: 237.3 kB / 0.6772 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.448, allocations: 49 kB / 0.6772 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001295/1.449, allocations: 0.7945 MB / 0.678 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/1.451, allocations: 0.8462 MB / 0.6788 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/1.451, allocations: 0 / 0.6788 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/1.451, allocations: 3.797 kB / 0.6788 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/1.451, allocations: 16.56 kB / 0.6788 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006092/1.457, allocations: 3.766 MB / 0.6825 GB, free: 140 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.458, allocations: 0.6071 MB / 0.6831 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/1.459, allocations: 0.5056 MB / 0.6836 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/1.459, allocations: 21.75 kB / 0.6836 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009044/1.46, allocations: 0.6353 MB / 0.6842 GB, free: 139.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.475e-06/1.46, allocations: 0 / 0.6842 GB, free: 139.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01222/1.472, allocations: 4.172 MB / 0.6883 GB, free: 139.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.472, allocations: 121.5 kB / 0.6884 GB, free: 139.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.473, allocations: 0.8103 MB / 0.6892 GB, free: 139.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.473, allocations: 25.7 kB / 0.6892 GB, free: 139.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/1.473, allocations: 320.5 kB / 0.6895 GB, free: 139.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/1.474, allocations: 330.7 kB / 0.6899 GB, free: 138.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/1.474, allocations: 0 / 0.6899 GB, free: 138.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/1.474, allocations: 352.8 kB / 0.6902 GB, free: 138.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/1.475, allocations: 444.2 kB / 0.6906 GB, free: 138.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/1.475, allocations: 0.5552 MB / 0.6912 GB, free: 138.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/1.476, allocations: 495.2 kB / 0.6916 GB, free: 138.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.476, allocations: 0 / 0.6916 GB, free: 138.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01177/1.488, allocations: 4.2 MB / 0.6957 GB, free: 138.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.488, allocations: 7.875 kB / 0.6957 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/1.488, allocations: 0 / 0.6957 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005746/1.494, allocations: 1.567 MB / 0.6973 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.495, allocations: 183 kB / 0.6975 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/1.509, allocations: 6.014 MB / 0.7033 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.511, allocations: 196 kB / 0.7035 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.511, allocations: 41.02 kB / 0.7036 GB, free: 136.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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: 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 (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003353/1.511, allocations: 149.1 kB / 0.7037 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.512, allocations: 125.7 kB / 0.7038 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.525, allocations: 4.27 MB / 0.708 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.525, allocations: 9.375 kB / 0.708 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/1.525, allocations: 6.844 kB / 0.708 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/1.525, allocations: 7.859 kB / 0.708 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/1.538, allocations: 5.667 MB / 0.7135 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.538, allocations: 3.609 kB / 0.7135 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/1.539, allocations: 101.1 kB / 0.7136 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004852/1.544, allocations: 1.553 MB / 0.7152 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/1.544, allocations: 13.27 kB / 0.7152 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.557, allocations: 7.085 MB / 0.7221 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.557, allocations: 0 / 0.7221 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01415/1.571, allocations: 5.015 MB / 0.727 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0174/1.589, allocations: 6.121 MB / 0.733 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009093/1.59, allocations: 224.8 kB / 0.7332 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005115/1.59, allocations: 13.31 kB / 0.7332 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.592, allocations: 140.8 kB / 0.7333 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/1.592, allocations: 116 kB / 0.7334 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.593, allocations: 30.62 kB / 0.7335 GB, free: 126.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001109/1.594, allocations: 0.6083 MB / 0.7341 GB, free: 125.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002489/1.596, allocations: 400 kB / 0.7344 GB, free: 125.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 (64): * Single equations (assignments): 61 * 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 {(21,21.8%) 11} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/1.597, allocations: 133.5 kB / 0.7346 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004927/1.602, allocations: 1.936 MB / 0.7365 GB, free: 123.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.602, allocations: 4 kB / 0.7365 GB, free: 123.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00388/1.605, allocations: 1.517 MB / 0.7379 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.607, allocations: 90.11 kB / 0.738 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/1.611, allocations: 1.734 MB / 0.7397 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008819/1.612, allocations: 1.213 MB / 0.7409 GB, free: 119.5 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/1.612, allocations: 0 / 0.7409 GB, free: 119.5 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)