Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.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_1Mod.Network,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_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.002569/0.002569, allocations: 182.1 kB / 7.46 MB, free: 2.191 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.119/1.119, 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.0009534/0.0009534, allocations: 99.81 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.389/0.389, allocations: 78.06 MB / 408.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1236/0.5127, allocations: 75.5 MB / 484.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.7714, allocations: 69.35 MB / 0.5408 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.8833, allocations: 98.62 MB / 0.6371 GB, free: 6.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.8835, allocations: 79.95 kB / 0.6372 GB, free: 6.191 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0661/0.9497, allocations: 23.84 MB / 0.6605 GB, free: 14.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.9497, allocations: 8 kB / 0.6605 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.9523, allocations: 418.2 kB / 0.6609 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.9535, allocations: 0.6487 MB / 0.6615 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.9538, allocations: 189.8 kB / 0.6617 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.954, allocations: 36 kB / 0.6617 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001132/0.9551, allocations: 0.5806 MB / 0.6623 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.9563, allocations: 0.6563 MB / 0.6629 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.9563, allocations: 0 / 0.6629 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.9564, allocations: 0 / 0.6629 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.9564, allocations: 23.89 kB / 0.663 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005591/0.962, allocations: 3.236 MB / 0.6661 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.9631, allocations: 0.4991 MB / 0.6666 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006064/0.9638, allocations: 386.8 kB / 0.667 GB, free: 7.191 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.78e-05/0.9639, allocations: 20.62 kB / 0.667 GB, free: 7.172 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.9639, allocations: 43.22 kB / 0.667 GB, free: 7.121 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 1.874e-06/0.9639, allocations: 3.938 kB / 0.6671 GB, free: 7.117 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.006056/0.97, allocations: 2.032 MB / 0.669 GB, free: 5.066 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.97, allocations: 89.7 kB / 0.6691 GB, free: 4.961 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.971, allocations: 0.6253 MB / 0.6697 GB, free: 4.332 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.9711, allocations: 25.7 kB / 0.6698 GB, free: 4.301 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.9713, allocations: 276.3 kB / 0.67 GB, free: 4.023 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.9716, allocations: 244.3 kB / 0.6703 GB, free: 3.781 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.9716, allocations: 0 / 0.6703 GB, free: 3.781 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9717, allocations: 334 kB / 0.6706 GB, free: 3.449 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.9723, allocations: 337.6 kB / 0.6709 GB, free: 3.121 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.973, allocations: 434.6 kB / 0.6713 GB, free: 2.668 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.9736, allocations: 372.9 kB / 0.6717 GB, free: 2.309 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.9736, allocations: 8 kB / 0.6717 GB, free: 2.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006915/0.9806, allocations: 2.268 MB / 0.6739 GB, free: 16 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1534/1.134, allocations: 0.7058 MB / 0.6746 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.134, allocations: 0 / 0.6746 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004326/1.138, allocations: 1.078 MB / 0.6756 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/1.139, allocations: 102.8 kB / 0.6757 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00827/1.147, allocations: 4.354 MB / 0.68 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.148, allocations: 124.3 kB / 0.6801 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.51e-05/1.149, allocations: 27.89 kB / 0.6801 GB, free: 142.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-06/1.149, allocations: 3.594 kB / 0.6801 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006225/1.155, allocations: 2.152 MB / 0.6822 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.155, allocations: 2.188 kB / 0.6822 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/1.159, allocations: 1.074 MB / 0.6833 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/1.159, allocations: 105 kB / 0.6834 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007968/1.167, allocations: 4.359 MB / 0.6876 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/1.168, allocations: 110.4 kB / 0.6877 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/1.168, allocations: 22.47 kB / 0.6878 GB, free: 141.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" 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: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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 {10 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002413/1.169, allocations: 128.9 kB / 0.6879 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/1.169, allocations: 92.72 kB / 0.688 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005605/1.174, allocations: 2.105 MB / 0.69 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.174, allocations: 6.906 kB / 0.69 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.175, allocations: 7.875 kB / 0.69 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/1.175, allocations: 3.938 kB / 0.69 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006773/1.181, allocations: 3.317 MB / 0.6933 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.181, allocations: 0 / 0.6933 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/1.182, allocations: 83.97 kB / 0.6934 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/1.185, allocations: 0.9087 MB / 0.6943 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/1.185, allocations: 3.875 kB / 0.6943 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005826/1.191, allocations: 3.383 MB / 0.6976 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.191, allocations: 1.094 kB / 0.6976 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006409/1.197, allocations: 2.707 MB / 0.7002 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007221/1.204, allocations: 3.616 MB / 0.7037 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/1.204, allocations: 185.1 kB / 0.7039 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.205, allocations: 2.406 kB / 0.7039 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008741/1.206, allocations: 81.2 kB / 0.704 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/1.206, allocations: 73.48 kB / 0.7041 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/1.206, allocations: 16.53 kB / 0.7041 GB, free: 138 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005738/1.206, allocations: 493.3 kB / 0.7045 GB, free: 137.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002476/1.209, allocations: 474.2 kB / 0.705 GB, free: 137.8 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: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002507/1.209, allocations: 150.2 kB / 0.7051 GB, free: 137.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006757/1.216, allocations: 2.832 MB / 0.7079 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.216, allocations: 3.062 kB / 0.7079 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002544/1.218, allocations: 1.145 MB / 0.709 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/1.219, allocations: 57.39 kB / 0.7091 GB, free: 135.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/1.223, allocations: 1.615 MB / 0.7107 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/1.223, allocations: 1.075 MB / 0.7117 GB, free: 134.5 MB / 490.7 MB Notification: Performance of SimCode: time 3.3e-07/1.223, allocations: 0 / 0.7117 GB, free: 134.5 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)