Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB",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.00163/0.00163, allocations: 180.7 kB / 7.457 MB, free: 2.516 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.034/1.034, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0008437/0.0008437, allocations: 100.7 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3561/0.3561, allocations: 78.1 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1068/0.4629, allocations: 75.5 MB / 484.5 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.682, allocations: 69.33 MB / 0.5408 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09229/0.7744, allocations: 96.49 MB / 0.6351 GB, free: 8.406 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.7746, allocations: 71.95 kB / 0.6351 GB, free: 8.336 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.05319/0.8278, allocations: 21.26 MB / 0.6559 GB, free: 2.863 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.8278, allocations: 8 kB / 0.6559 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.83, allocations: 398.4 kB / 0.6563 GB, free: 2.465 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.8308, allocations: 0.5619 MB / 0.6568 GB, free: 1.859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.8309, allocations: 130.1 kB / 0.6569 GB, free: 1.715 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.831, allocations: 36.56 kB / 0.657 GB, free: 1.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008533/0.8319, allocations: 0.5136 MB / 0.6575 GB, free: 1.164 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008465/0.8327, allocations: 0.5004 MB / 0.658 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.8328, allocations: 4 kB / 0.658 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.8328, allocations: 0 / 0.658 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.8328, allocations: 12 kB / 0.658 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.8371, allocations: 2.732 MB / 0.6607 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.8377, allocations: 358.7 kB / 0.661 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.8382, allocations: 342.3 kB / 0.6613 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.887e-05/0.8383, allocations: 16.5 kB / 0.6613 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.8383, allocations: 35.06 kB / 0.6614 GB, free: 13.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 1.523e-06/0.8383, allocations: 0 / 0.6614 GB, free: 13.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005394/0.8437, allocations: 1.919 MB / 0.6632 GB, free: 11.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.8438, allocations: 59.89 kB / 0.6633 GB, free: 11.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.8445, allocations: 0.6017 MB / 0.6639 GB, free: 10.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.8445, allocations: 29.7 kB / 0.6639 GB, free: 10.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.8447, allocations: 248.6 kB / 0.6642 GB, free: 10.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.8448, allocations: 197 kB / 0.6643 GB, free: 9.938 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.8449, allocations: 0 / 0.6643 GB, free: 9.938 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.845, allocations: 330 kB / 0.6647 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.8454, allocations: 285.3 kB / 0.6649 GB, free: 9.332 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.8459, allocations: 376.7 kB / 0.6653 GB, free: 8.941 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.8464, allocations: 319.8 kB / 0.6656 GB, free: 8.629 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8464, allocations: 0 / 0.6656 GB, free: 8.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006063/0.8525, allocations: 2.095 MB / 0.6676 GB, free: 6.516 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.8525, allocations: 5.875 kB / 0.6676 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8525, allocations: 4 kB / 0.6676 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/0.8563, allocations: 1.002 MB / 0.6686 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.8568, allocations: 91.88 kB / 0.6687 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007902/0.8647, allocations: 5.079 MB / 0.6737 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1229/0.9876, allocations: 100.1 kB / 0.6738 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.9877, allocations: 26.98 kB / 0.6738 GB, free: 146.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.9879, allocations: 115.7 kB / 0.6739 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.9881, allocations: 80.78 kB / 0.674 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004922/0.993, allocations: 1.979 MB / 0.6759 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.993, allocations: 10.11 kB / 0.6759 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.993, allocations: 7.312 kB / 0.6759 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.993, allocations: 7.562 kB / 0.6759 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005725/0.9988, allocations: 2.937 MB / 0.6788 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9988, allocations: 0 / 0.6788 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.9992, allocations: 63.02 kB / 0.6789 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/1.002, allocations: 0.8714 MB / 0.6797 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/1.002, allocations: 11.02 kB / 0.6797 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004919/1.007, allocations: 3.116 MB / 0.6828 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.007, allocations: 0 / 0.6828 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005384/1.012, allocations: 2.476 MB / 0.6852 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005909/1.018, allocations: 3.315 MB / 0.6884 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/1.018, allocations: 179.2 kB / 0.6886 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.018, allocations: 4.188 kB / 0.6886 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007353/1.019, allocations: 71.5 kB / 0.6887 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.019, allocations: 62.77 kB / 0.6887 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/1.019, allocations: 11.12 kB / 0.6887 GB, free: 143.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004828/1.02, allocations: 476.3 kB / 0.6892 GB, free: 143.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001161/1.021, allocations: 262.7 kB / 0.6894 GB, free: 143.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/1.021, allocations: 132.2 kB / 0.6896 GB, free: 143.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002954/1.024, allocations: 1.501 MB / 0.691 GB, free: 143.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.024, allocations: 0 / 0.691 GB, free: 143.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.026, allocations: 1.058 MB / 0.6921 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/1.027, allocations: 38.72 kB / 0.6921 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/1.029, allocations: 1.212 MB / 0.6933 GB, free: 142.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/1.029, allocations: 1.009 MB / 0.6943 GB, free: 141.6 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/1.029, allocations: 0 / 0.6943 GB, free: 141.6 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)