Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.004569/0.004569, allocations: 177 kB / 7.458 MB, free: 2.504 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.129/1.129, allocations: 221.4 MB / 229.3 MB, free: 3.117 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.001081/0.001081, allocations: 105.9 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4034/0.4034, allocations: 78.92 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1328/0.5362, allocations: 75.66 MB / 485.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.8207, allocations: 69.49 MB / 0.542 GB, free: 21.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.9347, allocations: 98.82 MB / 0.6385 GB, free: 5.105 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.935, allocations: 79.89 kB / 0.6385 GB, free: 5.027 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.06396/0.9989, allocations: 23.11 MB / 0.6611 GB, free: 13.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.999, allocations: 16 kB / 0.6611 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/1.002, allocations: 406.3 kB / 0.6615 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.003, allocations: 0.6095 MB / 0.6621 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/1.003, allocations: 130.4 kB / 0.6622 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/1.004, allocations: 39.94 kB / 0.6623 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001205/1.005, allocations: 0.5533 MB / 0.6628 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.006, allocations: 0.6172 MB / 0.6634 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.006, allocations: 0 / 0.6634 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/1.006, allocations: 3.906 kB / 0.6634 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/1.006, allocations: 12 kB / 0.6634 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005864/1.012, allocations: 2.967 MB / 0.6663 GB, free: 8.109 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/1.013, allocations: 0.6711 MB / 0.667 GB, free: 7.426 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/1.014, allocations: 378.3 kB / 0.6673 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-05/1.014, allocations: 16.62 kB / 0.6674 GB, free: 7.043 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/1.014, allocations: 39.22 kB / 0.6674 GB, free: 6.996 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.495e-06/1.014, allocations: 0 / 0.6674 GB, free: 6.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005821/1.02, allocations: 1.992 MB / 0.6693 GB, free: 4.988 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.02, allocations: 81.77 kB / 0.6694 GB, free: 4.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000895/1.021, allocations: 0.6252 MB / 0.67 GB, free: 4.262 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.61e-05/1.021, allocations: 25.7 kB / 0.6701 GB, free: 4.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/1.021, allocations: 252.6 kB / 0.6703 GB, free: 3.977 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/1.021, allocations: 224.6 kB / 0.6705 GB, free: 3.754 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/1.022, allocations: 4 kB / 0.6705 GB, free: 3.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/1.022, allocations: 333.9 kB / 0.6708 GB, free: 3.418 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/1.022, allocations: 333.5 kB / 0.6712 GB, free: 3.094 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/1.023, allocations: 409.7 kB / 0.6715 GB, free: 2.668 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/1.023, allocations: 364.4 kB / 0.6719 GB, free: 2.312 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.023, allocations: 4 kB / 0.6719 GB, free: 2.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006875/1.03, allocations: 2.215 MB / 0.6741 GB, free: 76 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1527/1.183, allocations: 0.612 MB / 0.6747 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/1.183, allocations: 5.766 kB / 0.6747 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004327/1.187, allocations: 1.036 MB / 0.6757 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/1.188, allocations: 107.2 kB / 0.6758 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007676/1.196, allocations: 4.132 MB / 0.6798 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/1.197, allocations: 118.1 kB / 0.6799 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/1.197, allocations: 17.25 kB / 0.6799 GB, free: 143 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/1.197, allocations: 6.438 kB / 0.6799 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006128/1.203, allocations: 2.095 MB / 0.682 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.203, allocations: 1.938 kB / 0.682 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/1.207, allocations: 1.037 MB / 0.683 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/1.208, allocations: 108.7 kB / 0.6831 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007467/1.215, allocations: 4.126 MB / 0.6871 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009972/1.216, allocations: 101.5 kB / 0.6872 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/1.216, allocations: 24.06 kB / 0.6873 GB, free: 141.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.0002415/1.217, allocations: 136.9 kB / 0.6874 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/1.217, allocations: 84.94 kB / 0.6875 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005218/1.222, allocations: 2.057 MB / 0.6895 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.222, allocations: 7.938 kB / 0.6895 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.619e-06/1.222, allocations: 3.938 kB / 0.6895 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/1.222, allocations: 11.59 kB / 0.6895 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006988/1.229, allocations: 3.202 MB / 0.6926 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.229, allocations: 3.609 kB / 0.6926 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/1.23, allocations: 86.62 kB / 0.6927 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002745/1.233, allocations: 0.8664 MB / 0.6936 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/1.233, allocations: 7.562 kB / 0.6936 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00537/1.238, allocations: 3.116 MB / 0.6966 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.238, allocations: 5.156 kB / 0.6966 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006305/1.244, allocations: 2.627 MB / 0.6992 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006983/1.251, allocations: 3.522 MB / 0.7026 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.252, allocations: 185 kB / 0.7028 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/1.252, allocations: 5.969 kB / 0.7028 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009063/1.253, allocations: 78.11 kB / 0.7029 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.253, allocations: 65.41 kB / 0.7029 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/1.253, allocations: 19.42 kB / 0.703 GB, free: 138.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006284/1.254, allocations: 490.7 kB / 0.7034 GB, free: 138 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002574/1.256, allocations: 451.6 kB / 0.7039 GB, free: 138 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.0002667/1.257, allocations: 140.5 kB / 0.704 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006542/1.263, allocations: 2.708 MB / 0.7066 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.263, allocations: 0 / 0.7066 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002641/1.266, allocations: 1.095 MB / 0.7077 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/1.266, allocations: 44.5 kB / 0.7077 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/1.27, allocations: 1.535 MB / 0.7092 GB, free: 135.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/1.271, allocations: 1.065 MB / 0.7103 GB, free: 135.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.271, allocations: 0 / 0.7103 GB, free: 135.2 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)