Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",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.001098/0.001098, allocations: 188.3 kB / 7.847 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.149/1.149, allocations: 221.4 MB / 229.7 MB, free: 3.289 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.0008805/0.0008805, allocations: 96.61 kB / 280.5 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03676/0.03676, allocations: 8.085 MB / 339.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1633/0.2001, allocations: 58.63 MB / 398 MB, free: 67.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0784/0.2785, allocations: 52.51 MB / 450.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.5435, allocations: 81.2 MB / 0.5192 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.5438, allocations: 68.98 kB / 0.5193 GB, free: 12.87 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.09392/0.6377, allocations: 34.52 MB / 0.553 GB, free: 1.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6378, allocations: 11.94 kB / 0.553 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000527/0.6383, allocations: 142.4 kB / 0.5532 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.6397, allocations: 0.6551 MB / 0.5538 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.6398, allocations: 24 kB / 0.5538 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/0.64, allocations: 48 kB / 0.5539 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002432/0.6424, allocations: 1.219 MB / 0.5551 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.6447, allocations: 1.209 MB / 0.5562 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.6447, allocations: 0 / 0.5562 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.6448, allocations: 7.906 kB / 0.5563 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.6449, allocations: 20 kB / 0.5563 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008223/0.6531, allocations: 5.439 MB / 0.5616 GB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.6552, allocations: 1.435 MB / 0.563 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.6565, allocations: 0.9108 MB / 0.5639 GB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.6567, allocations: 122.3 kB / 0.564 GB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.6568, allocations: 56.05 kB / 0.564 GB, free: 5.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=146): time 3.437e-06/0.6568, allocations: 0 / 0.564 GB, free: 5.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=146): time 0.01078/0.6676, allocations: 3.375 MB / 0.5673 GB, free: 2.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.6676, allocations: 116.1 kB / 0.5675 GB, free: 2.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006761/0.6683, allocations: 487.9 kB / 0.5679 GB, free: 1.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.6685, allocations: 29.7 kB / 0.5679 GB, free: 1.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.6687, allocations: 225.7 kB / 0.5682 GB, free: 1.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/0.6691, allocations: 468.8 kB / 0.5686 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/0.6692, allocations: 0 / 0.5686 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6694, allocations: 361.8 kB / 0.569 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.6705, allocations: 0.69 MB / 0.5696 GB, free: 15.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.6716, allocations: 0.7717 MB / 0.5704 GB, free: 15.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.6739, allocations: 0.8612 MB / 0.5712 GB, free: 14.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.674, allocations: 0 / 0.5712 GB, free: 14.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.01073/0.6847, allocations: 3.414 MB / 0.5746 GB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.6848, allocations: 10.95 kB / 0.5746 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6848, allocations: 0 / 0.5746 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/0.6951, allocations: 2.193 MB / 0.5767 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.6959, allocations: 155.8 kB / 0.5769 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/0.7156, allocations: 8.988 MB / 0.5856 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.7168, allocations: 67.11 kB / 0.5857 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.7169, allocations: 55.91 kB / 0.5858 GB, free: 15.19 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load5.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {20 44} Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.7173, allocations: 121.8 kB / 0.5859 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.7175, allocations: 110.7 kB / 0.586 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.729, allocations: 3.719 MB / 0.5896 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.7291, allocations: 16 kB / 0.5896 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7291, allocations: 0 / 0.5896 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-05/0.7291, allocations: 11.97 kB / 0.5896 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.7318, allocations: 1.587 MB / 0.5912 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.7318, allocations: 0 / 0.5912 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.7325, allocations: 175.8 kB / 0.5914 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01022/0.7427, allocations: 2.193 MB / 0.5935 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003209/0.7431, allocations: 19.97 kB / 0.5935 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/0.7624, allocations: 8.968 MB / 0.6023 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7624, allocations: 0 / 0.6023 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01095/0.7734, allocations: 3.574 MB / 0.6058 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01132/0.7847, allocations: 3.969 MB / 0.6096 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.7852, allocations: 207.4 kB / 0.6098 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/0.7856, allocations: 0 / 0.6098 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.7867, allocations: 75.92 kB / 0.6099 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.787, allocations: 81.86 kB / 0.61 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.7871, allocations: 55.98 kB / 0.61 GB, free: 6.059 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005559/0.7877, allocations: 375.2 kB / 0.6104 GB, free: 5.695 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002108/0.7898, allocations: 439.7 kB / 0.6108 GB, free: 5.266 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * 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 {20 44} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003088/0.7901, allocations: 127.7 kB / 0.6109 GB, free: 5.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00585/0.796, allocations: 2.384 MB / 0.6133 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.796, allocations: 0.6562 kB / 0.6133 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004554/0.8005, allocations: 1.607 MB / 0.6148 GB, free: 1.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.8017, allocations: 88.94 kB / 0.6149 GB, free: 1.031 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.8062, allocations: 1.496 MB / 0.6164 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.8073, allocations: 1.172 MB / 0.6175 GB, free: 14.3 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.8073, allocations: 0 / 0.6175 GB, free: 14.3 MB / 442.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)