Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.002619/0.002619, allocations: 180.2 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.25/1.25, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0009629/0.0009629, allocations: 92.16 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.434/0.434, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1641/0.5981, allocations: 75.65 MB / 485.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.9116, allocations: 69.51 MB / 0.542 GB, free: 20.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/1.049, allocations: 102.5 MB / 0.642 GB, free: 1.441 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.049, allocations: 79.95 kB / 0.6421 GB, free: 1.363 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.5006/1.55, allocations: 107.4 MB / 0.747 GB, free: 60.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.55, allocations: 12 kB / 0.747 GB, free: 60.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0182/1.568, allocations: 2.931 MB / 0.7499 GB, free: 57.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/1.574, allocations: 2.261 MB / 0.7521 GB, free: 55.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008476/1.574, allocations: 0.8753 MB / 0.753 GB, free: 54.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/1.576, allocations: 215.8 kB / 0.7532 GB, free: 54 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008122/1.584, allocations: 3.443 MB / 0.7565 GB, free: 50.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007383/1.592, allocations: 3.598 MB / 0.7601 GB, free: 46.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-05/1.592, allocations: 3.938 kB / 0.7601 GB, free: 46.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/1.592, allocations: 0 / 0.7601 GB, free: 46.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/1.592, allocations: 84 kB / 0.7601 GB, free: 46.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03321/1.625, allocations: 18.59 MB / 0.7783 GB, free: 27.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/1.629, allocations: 2.278 MB / 0.7805 GB, free: 24.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003256/1.633, allocations: 2.119 MB / 0.7826 GB, free: 22.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/1.633, allocations: 74.8 kB / 0.7827 GB, free: 22.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004295/1.637, allocations: 2.489 MB / 0.7851 GB, free: 20.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 7.715e-06/1.638, allocations: 0 / 0.7851 GB, free: 20.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.05547/1.693, allocations: 18.39 MB / 0.803 GB, free: 1.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/1.693, allocations: 145.8 kB / 0.8032 GB, free: 1.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005346/1.698, allocations: 2.476 MB / 0.8056 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00097/1.699, allocations: 25.7 kB / 0.8056 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/1.701, allocations: 1.182 MB / 0.8068 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003375/1.704, allocations: 1.255 MB / 0.808 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/1.704, allocations: 3.938 kB / 0.808 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003424/1.705, allocations: 449.7 kB / 0.8084 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/1.708, allocations: 1.781 MB / 0.8102 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003559/1.712, allocations: 2.338 MB / 0.8125 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/1.715, allocations: 1.98 MB / 0.8144 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/1.715, allocations: 4 kB / 0.8144 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05654/1.771, allocations: 18.43 MB / 0.8324 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.772, allocations: 6.188 kB / 0.8324 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/1.772, allocations: 20 kB / 0.8324 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0258/1.797, allocations: 7.192 MB / 0.8394 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003785/1.801, allocations: 0.5695 MB / 0.84 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06152/1.863, allocations: 22.25 MB / 0.8617 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007947/1.871, allocations: 0.6918 MB / 0.8624 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/1.872, allocations: 132 kB / 0.8625 GB, free: 4.336 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.001124/1.873, allocations: 206.9 kB / 0.8627 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.875, allocations: 458.3 kB / 0.8632 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05809/1.933, allocations: 18.83 MB / 0.8816 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.778e-05/1.933, allocations: 43.91 kB / 0.8816 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-05/1.933, allocations: 31.98 kB / 0.8816 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001232/1.933, allocations: 19.88 kB / 0.8816 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3023/2.236, allocations: 23.42 MB / 0.9045 GB, free: 169.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/2.236, allocations: 0 / 0.9045 GB, free: 169.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/2.238, allocations: 391.5 kB / 0.9049 GB, free: 169.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02356/2.262, allocations: 7.246 MB / 0.912 GB, free: 169.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001075/2.263, allocations: 21.33 kB / 0.912 GB, free: 169.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05162/2.315, allocations: 21.97 MB / 0.9334 GB, free: 166.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/2.315, allocations: 5.5 kB / 0.9334 GB, free: 166.7 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0582/2.373, allocations: 21.76 MB / 0.9547 GB, free: 166 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06745/2.44, allocations: 25.3 MB / 0.9794 GB, free: 160.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/2.442, allocations: 0.5559 MB / 0.9799 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001319/2.443, allocations: 6.406 kB / 0.98 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004628/2.448, allocations: 0.4935 MB / 0.9804 GB, free: 159.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00135/2.449, allocations: 460.9 kB / 0.9809 GB, free: 159.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/2.45, allocations: 94.19 kB / 0.981 GB, free: 159.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002603/2.452, allocations: 1.833 MB / 0.9828 GB, free: 158.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005643/2.458, allocations: 1.575 MB / 0.9843 GB, free: 158.9 MB / 0.573 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.0006113/2.459, allocations: 153.2 kB / 0.9844 GB, free: 158.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02149/2.48, allocations: 7.921 MB / 0.9922 GB, free: 153.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/2.48, allocations: 0 / 0.9922 GB, free: 153.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01834/2.499, allocations: 5.933 MB / 0.998 GB, free: 148 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/2.502, allocations: 246.6 kB / 0.9982 GB, free: 147.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/2.519, allocations: 6.033 MB / 1.004 GB, free: 142.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/2.522, allocations: 2.695 MB / 1.007 GB, free: 140.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/2.522, allocations: 0.9375 kB / 1.007 GB, free: 140.2 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)