Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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 3.2.3+maint.om/package.mo): time 0.004045/0.004045, allocations: 181 kB / 7.458 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008708/0.0008707, allocations: 90.78 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08285/0.08285, allocations: 12.2 MB / 321.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2932/0.2932, allocations: 78.05 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2841/0.5773, allocations: 76.09 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.7108, allocations: 69.22 MB / 0.5813 GB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/1.053, allocations: 103.6 MB / 0.6824 GB, free: 5.723 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.053, allocations: 75.52 kB / 0.6825 GB, free: 5.684 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.2828/1.336, allocations: 103 MB / 0.7831 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.336, allocations: 15.94 kB / 0.7831 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01981/1.356, allocations: 2.923 MB / 0.7859 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006866/1.363, allocations: 2.28 MB / 0.7882 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009814/1.364, allocations: 0.8753 MB / 0.789 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/1.365, allocations: 207.9 kB / 0.7892 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008281/1.373, allocations: 3.451 MB / 0.7926 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008666/1.382, allocations: 3.606 MB / 0.7961 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/1.382, allocations: 4 kB / 0.7961 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003666/1.382, allocations: 0 / 0.7961 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.112e-05/1.383, allocations: 84 kB / 0.7962 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03924/1.422, allocations: 18.63 MB / 0.8144 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004495/1.426, allocations: 2.279 MB / 0.8166 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003602/1.43, allocations: 2.124 MB / 0.8187 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/1.43, allocations: 74.91 kB / 0.8188 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003947/1.434, allocations: 2.501 MB / 0.8212 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=385): time 5.47e-06/1.434, allocations: 0 / 0.8212 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of matching and sorting (n=385): time 0.05784/1.492, allocations: 18.41 MB / 0.8392 GB, free: 14.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/1.492, allocations: 145.9 kB / 0.8393 GB, free: 14.04 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004439/1.497, allocations: 2.484 MB / 0.8417 GB, free: 11.54 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001084/1.498, allocations: 25.7 kB / 0.8418 GB, free: 11.51 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008402/1.499, allocations: 1.186 MB / 0.8429 GB, free: 10.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002754/1.501, allocations: 1.262 MB / 0.8442 GB, free: 9.02 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/1.502, allocations: 0 / 0.8442 GB, free: 9.02 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002544/1.502, allocations: 441.8 kB / 0.8446 GB, free: 8.582 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/1.505, allocations: 1.788 MB / 0.8463 GB, free: 6.793 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003635/1.509, allocations: 2.349 MB / 0.8486 GB, free: 4.25 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/1.513, allocations: 1.977 MB / 0.8506 GB, free: 2.262 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-05/1.513, allocations: 4 kB / 0.8506 GB, free: 2.258 MB / 0.573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.2809/1.794, allocations: 18.52 MB / 0.8686 GB, free: 98.85 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.794, allocations: 3.969 kB / 0.8686 GB, free: 98.85 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/1.794, allocations: 15.09 kB / 0.8687 GB, free: 98.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02487/1.819, allocations: 7.285 MB / 0.8758 GB, free: 98.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/1.822, allocations: 0.5522 MB / 0.8763 GB, free: 98.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05673/1.879, allocations: 23.6 MB / 0.8994 GB, free: 95.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006434/1.885, allocations: 0.6734 MB / 0.9 GB, free: 95.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005553/1.886, allocations: 137.8 kB / 0.9001 GB, free: 95.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 (334): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008622/1.887, allocations: 204.6 kB / 0.9003 GB, free: 94.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/1.888, allocations: 458.9 kB / 0.9008 GB, free: 94.72 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05374/1.941, allocations: 18.84 MB / 0.9192 GB, free: 93.26 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.254e-05/1.941, allocations: 37.12 kB / 0.9192 GB, free: 93.26 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-05/1.941, allocations: 32.19 kB / 0.9192 GB, free: 93.26 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.985e-05/1.942, allocations: 22.77 kB / 0.9193 GB, free: 93.26 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1003/2.042, allocations: 23.47 MB / 0.9422 GB, free: 89.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/2.042, allocations: 0 / 0.9422 GB, free: 89.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003131/2.045, allocations: 393.7 kB / 0.9426 GB, free: 88.83 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02373/2.069, allocations: 7.28 MB / 0.9497 GB, free: 83.12 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008801/2.07, allocations: 15.94 kB / 0.9497 GB, free: 83.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05171/2.121, allocations: 21.95 MB / 0.9711 GB, free: 63.42 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/2.121, allocations: 10.44 kB / 0.9711 GB, free: 63.41 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05772/2.179, allocations: 21.81 MB / 0.9924 GB, free: 45.37 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06323/2.242, allocations: 25.32 MB / 1.017 GB, free: 23.82 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/2.244, allocations: 0.5652 MB / 1.018 GB, free: 23.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001871/2.246, allocations: 5.594 kB / 1.018 GB, free: 23.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004875/2.251, allocations: 484.5 kB / 1.018 GB, free: 22.94 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00145/2.253, allocations: 465.9 kB / 1.019 GB, free: 22.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003731/2.253, allocations: 99.8 kB / 1.019 GB, free: 22.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002557/2.256, allocations: 1.84 MB / 1.021 GB, free: 20.92 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005323/2.261, allocations: 1.574 MB / 1.022 GB, free: 19.41 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005574/2.261, allocations: 149.6 kB / 1.022 GB, free: 19.29 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02101/2.283, allocations: 8.062 MB / 1.03 GB, free: 11.92 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/2.283, allocations: 0 / 1.03 GB, free: 11.92 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01824/2.301, allocations: 5.968 MB / 1.036 GB, free: 6.645 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/2.304, allocations: 242.6 kB / 1.036 GB, free: 6.414 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/2.321, allocations: 6.116 MB / 1.042 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/2.324, allocations: 2.701 MB / 1.045 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/2.324, allocations: 0 / 1.045 GB, free: 14.82 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)