Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_2.Network,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",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.003729/0.003729, allocations: 183 kB / 7.459 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.204/1.204, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0009994/0.0009996, allocations: 96.8 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3873/0.3873, allocations: 78.06 MB / 408.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1269/0.5142, allocations: 75.49 MB / 484.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.771, allocations: 69.35 MB / 0.5408 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.887, allocations: 100.3 MB / 0.6387 GB, free: 4.504 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.8873, allocations: 79.95 kB / 0.6388 GB, free: 4.426 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.0895/0.9769, allocations: 30.79 MB / 0.6689 GB, free: 5.398 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.9769, allocations: 12 kB / 0.6689 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.9797, allocations: 437.9 kB / 0.6693 GB, free: 4.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.9816, allocations: 0.8682 MB / 0.6702 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.9819, allocations: 223.5 kB / 0.6704 GB, free: 3.777 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.9821, allocations: 43.91 kB / 0.6704 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001444/0.9836, allocations: 0.7524 MB / 0.6712 GB, free: 2.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.9849, allocations: 0.7587 MB / 0.6719 GB, free: 2.211 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.985, allocations: 3.984 kB / 0.6719 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/0.9851, allocations: 3.938 kB / 0.6719 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.9851, allocations: 20 kB / 0.6719 GB, free: 2.184 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1673/1.152, allocations: 3.687 MB / 0.6755 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.154, allocations: 0.9298 MB / 0.6764 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/1.155, allocations: 466.9 kB / 0.6769 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-05/1.155, allocations: 15.36 kB / 0.6769 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/1.155, allocations: 37.81 kB / 0.6769 GB, free: 141.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/1.155, allocations: 3.875 kB / 0.6769 GB, free: 141.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005772/1.161, allocations: 2.187 MB / 0.6791 GB, free: 141.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/1.161, allocations: 116.7 kB / 0.6792 GB, free: 141.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.162, allocations: 0.8598 MB / 0.68 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.662e-05/1.162, allocations: 29.67 kB / 0.68 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/1.162, allocations: 299.8 kB / 0.6803 GB, free: 141.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/1.162, allocations: 265.7 kB / 0.6806 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/1.162, allocations: 0 / 0.6806 GB, free: 140.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/1.162, allocations: 341 kB / 0.6809 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006348/1.163, allocations: 416.6 kB / 0.6813 GB, free: 140.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/1.164, allocations: 0.514 MB / 0.6818 GB, free: 140.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/1.164, allocations: 463.7 kB / 0.6823 GB, free: 140.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/1.164, allocations: 0 / 0.6823 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006665/1.171, allocations: 2.433 MB / 0.6846 GB, free: 140.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.171, allocations: 0.6172 MB / 0.6852 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.171, allocations: 3.719 kB / 0.6852 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/1.175, allocations: 1.033 MB / 0.6862 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008993/1.176, allocations: 161.8 kB / 0.6864 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008035/1.184, allocations: 4.134 MB / 0.6904 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.186, allocations: 157.1 kB / 0.6906 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.186, allocations: 27.75 kB / 0.6906 GB, free: 138.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/1.186, allocations: 6.25 kB / 0.6906 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006522/1.193, allocations: 2.281 MB / 0.6928 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.193, allocations: 3.781 kB / 0.6928 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004035/1.197, allocations: 1.039 MB / 0.6939 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/1.198, allocations: 141.7 kB / 0.694 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007603/1.205, allocations: 4.129 MB / 0.698 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/1.207, allocations: 148.2 kB / 0.6982 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/1.207, allocations: 28.69 kB / 0.6982 GB, free: 136.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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 (79): * Single equations (assignments): 76 * 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.0002926/1.207, allocations: 117.8 kB / 0.6983 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/1.208, allocations: 113.1 kB / 0.6984 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006133/1.214, allocations: 2.259 MB / 0.7006 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.214, allocations: 9 kB / 0.7006 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/1.214, allocations: 3.562 kB / 0.7006 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.214, allocations: 7.031 kB / 0.7006 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007923/1.222, allocations: 3.711 MB / 0.7043 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.222, allocations: 4.969 kB / 0.7043 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/1.223, allocations: 112.9 kB / 0.7044 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002963/1.226, allocations: 0.8738 MB / 0.7052 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.226, allocations: 12.22 kB / 0.7052 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005649/1.231, allocations: 3.11 MB / 0.7083 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.231, allocations: 3.906 kB / 0.7083 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006982/1.238, allocations: 2.939 MB / 0.7112 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00722/1.246, allocations: 3.954 MB / 0.715 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/1.246, allocations: 228.9 kB / 0.7152 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/1.246, allocations: 6 kB / 0.7152 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.248, allocations: 122 kB / 0.7154 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.248, allocations: 70.64 kB / 0.7154 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/1.248, allocations: 17.81 kB / 0.7154 GB, free: 130.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00078/1.249, allocations: 0.6602 MB / 0.7161 GB, free: 130.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002539/1.251, allocations: 0.5089 MB / 0.7166 GB, free: 130.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.0002649/1.251, allocations: 148 kB / 0.7167 GB, free: 130.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006598/1.258, allocations: 3.016 MB / 0.7197 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.258, allocations: 0 / 0.7197 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002628/1.261, allocations: 1.194 MB / 0.7208 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/1.262, allocations: 87.06 kB / 0.7209 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/1.266, allocations: 1.981 MB / 0.7229 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008186/1.267, allocations: 1.204 MB / 0.724 GB, free: 126.7 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/1.267, allocations: 0 / 0.724 GB, free: 126.7 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)