Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.LargerNetwork.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.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(PowerSysPro.Examples.LargerNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_LargerNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.LargerNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_LargerNetwork",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.001226/0.001225, allocations: 187 kB / 7.846 MB, free: 2.5 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.261/1.261, allocations: 221.4 MB / 229.6 MB, free: 3.078 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.001047/0.001047, allocations: 93.16 kB / 280.5 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03537/0.03537, allocations: 8.09 MB / 339.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1824/0.2178, allocations: 58.62 MB / 398 MB, free: 67.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07714/0.2949, allocations: 52.51 MB / 450.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.28/0.575, allocations: 82.74 MB / 0.5207 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.5752, allocations: 64.75 kB / 0.5208 GB, free: 11.44 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 598 * Number of variables: 598 Notification: Performance of Generate backend data structure: time 0.235/0.8102, allocations: 87.15 MB / 0.6059 GB, free: 10.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.8102, allocations: 15.94 kB / 0.6059 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.812, allocations: 375.9 kB / 0.6063 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.8158, allocations: 1.469 MB / 0.6077 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/0.8163, allocations: 0.6433 MB / 0.6084 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009025/0.8172, allocations: 131.9 kB / 0.6085 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008122/0.8253, allocations: 3.426 MB / 0.6118 GB, free: 4.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008685/0.834, allocations: 3.376 MB / 0.6151 GB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.8341, allocations: 4 kB / 0.6151 GB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003828/0.8345, allocations: 11.98 kB / 0.6151 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.8346, allocations: 56 kB / 0.6152 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.8604, allocations: 14.75 MB / 0.6296 GB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006126/0.8666, allocations: 4.112 MB / 0.6336 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003723/0.8703, allocations: 2.602 MB / 0.6361 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.871, allocations: 180.4 kB / 0.6363 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004781/0.8758, allocations: 2.748 MB / 0.639 GB, free: 7.465 MB / 458.7 MB Notification: Performance of pre-optimization done (n=452): time 8.366e-06/0.8758, allocations: 0 / 0.639 GB, free: 7.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=452): time 0.01678/0.8926, allocations: 7.179 MB / 0.646 GB, free: 268 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.8927, allocations: 184.1 kB / 0.6462 GB, free: 52 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1965/1.089, allocations: 1.056 MB / 0.6472 GB, free: 83.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009903/1.09, allocations: 44.81 kB / 0.6473 GB, free: 83.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/1.091, allocations: 0.5728 MB / 0.6478 GB, free: 82.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/1.092, allocations: 1.382 MB / 0.6492 GB, free: 82.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/1.092, allocations: 3.656 kB / 0.6492 GB, free: 82.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/1.092, allocations: 446.1 kB / 0.6496 GB, free: 81.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/1.095, allocations: 2.009 MB / 0.6516 GB, free: 81.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/1.098, allocations: 2.244 MB / 0.6538 GB, free: 81.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/1.104, allocations: 2.347 MB / 0.656 GB, free: 81.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/1.104, allocations: 0 / 0.656 GB, free: 81.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01568/1.12, allocations: 7.23 MB / 0.6631 GB, free: 81.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.12, allocations: 7.531 kB / 0.6631 GB, free: 81.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.12, allocations: 0.8438 kB / 0.6631 GB, free: 81.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02845/1.148, allocations: 9.282 MB / 0.6722 GB, free: 81.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/1.15, allocations: 394 kB / 0.6726 GB, free: 81.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/1.167, allocations: 7.914 MB / 0.6803 GB, free: 80.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/1.171, allocations: 269.9 kB / 0.6805 GB, free: 80.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/1.171, allocations: 129.2 kB / 0.6807 GB, free: 80.5 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: b56131.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11465.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b11465.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b61232.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11458.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b61256.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b61274.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11407.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b61280.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b61280.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11407.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11403.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61254.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61273.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61274.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61275.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61260.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11465.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61121.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b87694.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61232.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11458.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61106.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b56131.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b87656.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61227.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61089.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11480.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61256.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61280.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.b61280.degradedMode,b61280.degradedMode,$PRE.b11458.degradedMode,b11458.degradedMode,$PRE.b61256.degradedMode,b61256.degradedMode,$PRE.b11480.degradedMode,b11480.degradedMode,$PRE.b61232.degradedMode,b61232.degradedMode,$PRE.b61121.degradedMode,b61121.degradedMode,$PRE.b87694.degradedMode,b87694.degradedMode,$PRE.b11465.degradedMode,b11465.degradedMode,$PRE.b61260.degradedMode,b61260.degradedMode,$PRE.b61254.degradedMode,b61254.degradedMode,$PRE.b11407.degradedMode,b11407.degradedMode,$PRE.b11403.degradedMode,b11403.degradedMode,$PRE.b61227.degradedMode,b61227.degradedMode,$PRE.b61089.degradedMode,b61089.degradedMode,$PRE.b61274.degradedMode,b61274.degradedMode,$PRE.b61273.degradedMode,b61273.degradedMode,$PRE.b61275.degradedMode,b61275.degradedMode,$PRE.b56131.degradedMode,b56131.degradedMode,$PRE.b87656.degradedMode,b87656.degradedMode,$PRE.b61106.degradedMode,b61106.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {79 137} Notification: Performance of prepare postOptimizeDAE: time 0.001023/1.172, allocations: 221.1 kB / 0.6809 GB, free: 80.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007287/1.173, allocations: 315.7 kB / 0.6812 GB, free: 80.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.187, allocations: 7.655 MB / 0.6887 GB, free: 80.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/1.187, allocations: 47.28 kB / 0.6887 GB, free: 80.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.187, allocations: 2.75 kB / 0.6887 GB, free: 80.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/1.187, allocations: 31.92 kB / 0.6887 GB, free: 80.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005225/1.193, allocations: 4.46 MB / 0.6931 GB, free: 79.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.193, allocations: 0 / 0.6931 GB, free: 79.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/1.194, allocations: 413.1 kB / 0.6935 GB, free: 79.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02979/1.224, allocations: 9.355 MB / 0.7026 GB, free: 79.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009759/1.225, allocations: 30.27 kB / 0.7026 GB, free: 79.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/1.241, allocations: 8.09 MB / 0.7105 GB, free: 76.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.241, allocations: 4.406 kB / 0.7106 GB, free: 76.15 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01546/1.257, allocations: 7.15 MB / 0.7175 GB, free: 72.41 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01259/1.269, allocations: 7.561 MB / 0.7249 GB, free: 65.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.271, allocations: 0.967 MB / 0.7259 GB, free: 64.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/1.272, allocations: 4 kB / 0.7259 GB, free: 64.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002953/1.275, allocations: 258.5 kB / 0.7261 GB, free: 64.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006016/1.275, allocations: 293.8 kB / 0.7264 GB, free: 64.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003706/1.276, allocations: 159.5 kB / 0.7265 GB, free: 64.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.000869/1.276, allocations: 0.7797 MB / 0.7273 GB, free: 63.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002315/1.279, allocations: 0.8353 MB / 0.7281 GB, free: 62.56 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Number of discrete states: 20 (b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {78 158} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005031/1.279, allocations: 190.3 kB / 0.7283 GB, free: 62.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01417/1.293, allocations: 6.215 MB / 0.7344 GB, free: 56.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.293, allocations: 6.781 kB / 0.7344 GB, free: 56.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01242/1.306, allocations: 3.966 MB / 0.7383 GB, free: 52.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1.308, allocations: 212 kB / 0.7385 GB, free: 52.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009743/1.318, allocations: 4.402 MB / 0.7428 GB, free: 48.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.319, allocations: 2.035 MB / 0.7447 GB, free: 47 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/1.32, allocations: 1.406 kB / 0.7447 GB, free: 47 MB / 458.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.LargerNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_LargerNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_LargerNetwork.fmu > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1)