Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",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.001833/0.001833, allocations: 178 kB / 7.454 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.055/1.055, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0008394/0.0008394, allocations: 102.6 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.3613/0.3613, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1149/0.4762, allocations: 75.51 MB / 484.5 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.7031, allocations: 69.33 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09636/0.7995, allocations: 98.14 MB / 0.6367 GB, free: 6.766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.7998, allocations: 79.94 kB / 0.6368 GB, free: 6.688 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.05759/0.8574, allocations: 22.93 MB / 0.6592 GB, free: 15.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.8574, allocations: 8 kB / 0.6592 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.8596, allocations: 406.3 kB / 0.6595 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.8605, allocations: 0.6173 MB / 0.6601 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.8607, allocations: 130.4 kB / 0.6603 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.784e-05/0.8608, allocations: 36 kB / 0.6603 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009168/0.8617, allocations: 0.5533 MB / 0.6608 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.8627, allocations: 0.6056 MB / 0.6614 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.8627, allocations: 3.938 kB / 0.6614 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.8628, allocations: 7.906 kB / 0.6615 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.8628, allocations: 15.98 kB / 0.6615 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/0.8674, allocations: 2.98 MB / 0.6644 GB, free: 9.953 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.8687, allocations: 0.671 MB / 0.665 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.8692, allocations: 378.8 kB / 0.6654 GB, free: 8.898 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-05/0.8693, allocations: 8.656 kB / 0.6654 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.8694, allocations: 35.22 kB / 0.6654 GB, free: 8.848 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.034e-06/0.8694, allocations: 0 / 0.6654 GB, free: 8.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.00546/0.8748, allocations: 1.988 MB / 0.6674 GB, free: 6.844 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.8749, allocations: 89.75 kB / 0.6675 GB, free: 6.738 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/0.8756, allocations: 0.6212 MB / 0.6681 GB, free: 6.113 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.8757, allocations: 25.7 kB / 0.6681 GB, free: 6.082 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.8759, allocations: 256.6 kB / 0.6683 GB, free: 5.824 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.8761, allocations: 224.6 kB / 0.6686 GB, free: 5.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.8761, allocations: 4 kB / 0.6686 GB, free: 5.598 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8762, allocations: 337.9 kB / 0.6689 GB, free: 5.262 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.8767, allocations: 321.6 kB / 0.6692 GB, free: 4.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.8773, allocations: 421.7 kB / 0.6696 GB, free: 4.512 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.8779, allocations: 364.5 kB / 0.6699 GB, free: 4.156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.8779, allocations: 0 / 0.6699 GB, free: 4.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006275/0.8842, allocations: 2.211 MB / 0.6721 GB, free: 1.926 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.8844, allocations: 0.6209 MB / 0.6727 GB, free: 1.262 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8844, allocations: 4 kB / 0.6727 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/0.8884, allocations: 1.031 MB / 0.6737 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.8889, allocations: 107.9 kB / 0.6738 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1282/1.017, allocations: 4.131 MB / 0.6778 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/1.018, allocations: 116.8 kB / 0.678 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/1.018, allocations: 26.62 kB / 0.678 GB, free: 143.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.54e-06/1.018, allocations: 3.406 kB / 0.678 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005682/1.024, allocations: 2.096 MB / 0.68 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/1.024, allocations: 0 / 0.68 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/1.028, allocations: 1.035 MB / 0.681 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/1.028, allocations: 99.06 kB / 0.6811 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/1.035, allocations: 4.134 MB / 0.6852 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/1.036, allocations: 105.1 kB / 0.6853 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/1.036, allocations: 23.25 kB / 0.6853 GB, free: 142.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.000203/1.036, allocations: 119.6 kB / 0.6854 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/1.036, allocations: 85.62 kB / 0.6855 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004993/1.041, allocations: 2.059 MB / 0.6875 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.041, allocations: 9.125 kB / 0.6875 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.041, allocations: 3.938 kB / 0.6875 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.041, allocations: 3.516 kB / 0.6875 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/1.047, allocations: 3.207 MB / 0.6907 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.048, allocations: 3.609 kB / 0.6907 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/1.048, allocations: 82.7 kB / 0.6907 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/1.051, allocations: 0.871 MB / 0.6916 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/1.051, allocations: 10.12 kB / 0.6916 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00481/1.056, allocations: 3.122 MB / 0.6946 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.056, allocations: 3.906 kB / 0.6946 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005764/1.061, allocations: 2.624 MB / 0.6972 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006641/1.068, allocations: 3.513 MB / 0.7006 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/1.068, allocations: 183.2 kB / 0.7008 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/1.068, allocations: 6.312 kB / 0.7008 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008211/1.069, allocations: 77.78 kB / 0.7009 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.069, allocations: 65.73 kB / 0.701 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.97e-05/1.069, allocations: 24.92 kB / 0.701 GB, free: 139.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005287/1.07, allocations: 487.1 kB / 0.7014 GB, free: 139.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002266/1.072, allocations: 450.6 kB / 0.7019 GB, free: 139 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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.000223/1.072, allocations: 149.5 kB / 0.702 GB, free: 138.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006103/1.079, allocations: 2.696 MB / 0.7047 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.079, allocations: 0 / 0.7047 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/1.081, allocations: 1.097 MB / 0.7057 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/1.081, allocations: 56.5 kB / 0.7058 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/1.085, allocations: 1.537 MB / 0.7073 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/1.086, allocations: 1.053 MB / 0.7083 GB, free: 136.5 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/1.086, allocations: 3.562 kB / 0.7083 GB, free: 136.5 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)