Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",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.004789/0.004789, allocations: 183.7 kB / 7.459 MB, free: 2.512 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.292/1.292, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.001083/0.001083, allocations: 100.7 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4469/0.4469, allocations: 78.92 MB / 409.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.162/0.609, allocations: 75.64 MB / 485.4 MB, free: 3.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.9303, allocations: 69.51 MB / 0.542 GB, free: 20.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/1.058, allocations: 102.3 MB / 0.6419 GB, free: 1.535 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/1.058, allocations: 75.97 kB / 0.6419 GB, free: 1.461 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.5224/1.581, allocations: 106.6 MB / 0.7461 GB, free: 61.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.581, allocations: 12 kB / 0.7461 GB, free: 61.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/1.599, allocations: 2.924 MB / 0.7489 GB, free: 58.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005101/1.604, allocations: 2.306 MB / 0.7512 GB, free: 56.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006501/1.605, allocations: 0.854 MB / 0.752 GB, free: 55.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00087/1.606, allocations: 207.9 kB / 0.7522 GB, free: 54.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006318/1.612, allocations: 3.447 MB / 0.7556 GB, free: 51.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006095/1.618, allocations: 3.614 MB / 0.7591 GB, free: 47.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.85e-05/1.618, allocations: 0 / 0.7591 GB, free: 47.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/1.619, allocations: 0 / 0.7591 GB, free: 47.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-05/1.619, allocations: 87.91 kB / 0.7592 GB, free: 47.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03576/1.654, allocations: 18.7 MB / 0.7775 GB, free: 27.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/1.658, allocations: 2.271 MB / 0.7797 GB, free: 25.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/1.661, allocations: 2.124 MB / 0.7818 GB, free: 23.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/1.662, allocations: 70.92 kB / 0.7818 GB, free: 23.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.662, allocations: 81.5 kB / 0.7819 GB, free: 23.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.43e-06/1.662, allocations: 0 / 0.7819 GB, free: 23.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05198/1.714, allocations: 18.27 MB / 0.7997 GB, free: 4.992 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/1.714, allocations: 167.5 kB / 0.7999 GB, free: 4.797 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/1.718, allocations: 2.488 MB / 0.8023 GB, free: 2.293 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009215/1.719, allocations: 25.7 kB / 0.8024 GB, free: 2.262 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000568/1.72, allocations: 1.182 MB / 0.8035 GB, free: 1.062 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002671/1.722, allocations: 1.258 MB / 0.8047 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/1.723, allocations: 0 / 0.8047 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002776/1.723, allocations: 445.7 kB / 0.8052 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/1.726, allocations: 1.769 MB / 0.8069 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003842/1.73, allocations: 2.334 MB / 0.8092 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/1.734, allocations: 1.977 MB / 0.8111 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.734, allocations: 4 kB / 0.8111 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=463) (initialization): time 0.05911/1.793, allocations: 18.44 MB / 0.8291 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.003318/1.796, allocations: 6.605 MB / 0.8356 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-05/1.796, allocations: 19.94 kB / 0.8356 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02662/1.823, allocations: 7.216 MB / 0.8426 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/1.826, allocations: 0.546 MB / 0.8432 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06243/1.889, allocations: 23.44 MB / 0.8661 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006503/1.895, allocations: 0.684 MB / 0.8667 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009988/1.896, allocations: 131.9 kB / 0.8668 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.896, allocations: 4 kB / 0.8669 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05508/1.952, allocations: 17.94 MB / 0.8844 GB, free: 13.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.394e-05/1.952, allocations: 16 kB / 0.8844 GB, free: 13.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02597/1.978, allocations: 7.228 MB / 0.8914 GB, free: 5.887 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003156/1.981, allocations: 0.5265 MB / 0.892 GB, free: 5.359 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2593/2.24, allocations: 23.42 MB / 0.9148 GB, free: 171.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00647/2.247, allocations: 0.655 MB / 0.9155 GB, free: 171.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007211/2.247, allocations: 130 kB / 0.9156 GB, free: 171.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 322 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001035/2.248, allocations: 203.1 kB / 0.9158 GB, free: 170.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/2.25, allocations: 457.1 kB / 0.9162 GB, free: 170.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05286/2.303, allocations: 18.7 MB / 0.9345 GB, free: 170.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.848e-05/2.303, allocations: 37.09 kB / 0.9345 GB, free: 170.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.549e-05/2.303, allocations: 36.69 kB / 0.9346 GB, free: 170.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001528/2.303, allocations: 16.97 kB / 0.9346 GB, free: 170.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06362/2.367, allocations: 23.64 MB / 0.9577 GB, free: 169.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/2.367, allocations: 0 / 0.9577 GB, free: 169.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003012/2.37, allocations: 408.9 kB / 0.9581 GB, free: 169.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02388/2.394, allocations: 7.191 MB / 0.9651 GB, free: 168.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009633/2.395, allocations: 25.39 kB / 0.9651 GB, free: 168.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05057/2.445, allocations: 20.08 MB / 0.9847 GB, free: 160.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/2.445, allocations: 0.9688 kB / 0.9847 GB, free: 160.4 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05946/2.505, allocations: 21.66 MB / 1.006 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06209/2.567, allocations: 25.17 MB / 1.03 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/2.569, allocations: 0.5574 MB / 1.031 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/2.57, allocations: 8 kB / 1.031 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005422/2.576, allocations: 495.9 kB / 1.031 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001554/2.577, allocations: 449.4 kB / 1.032 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003486/2.578, allocations: 92.45 kB / 1.032 GB, free: 121 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002724/2.58, allocations: 1.839 MB / 1.034 GB, free: 119.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008371/2.589, allocations: 2.612 MB / 1.036 GB, free: 116.9 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005393/2.589, allocations: 157.4 kB / 1.036 GB, free: 116.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03954/2.629, allocations: 14.19 MB / 1.05 GB, free: 104 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.629, allocations: 1.562 kB / 1.05 GB, free: 104 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01808/2.647, allocations: 5.825 MB / 1.056 GB, free: 98.83 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/2.651, allocations: 251.5 kB / 1.056 GB, free: 98.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/2.67, allocations: 6.439 MB / 1.063 GB, free: 92.78 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002451/2.673, allocations: 2.717 MB / 1.065 GB, free: 90.71 MB / 0.573 GB Notification: Performance of SimCode: time 8.91e-07/2.673, allocations: 0 / 1.065 GB, free: 90.71 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)