Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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 3.2.3+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 188.5 kB / 8.137 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.2 MB / 213.7 MB, free: 13.79 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 99.06 kB / 261.7 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1933/0.1933, allocations: 37.98 MB / 347.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2104/0.4038, allocations: 62.44 MB / 410.1 MB, free: 46.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.5043, allocations: 56.31 MB / 466.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.8763, allocations: 98.81 MB / 0.552 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.8767, allocations: 83.95 kB / 0.5521 GB, free: 11.59 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.1222/0.9989, allocations: 51.98 MB / 0.6028 GB, free: 6.609 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.9989, allocations: 11.94 kB / 0.6028 GB, free: 6.598 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/1.001, allocations: 135.2 kB / 0.603 GB, free: 6.465 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/1.002, allocations: 326.2 kB / 0.6033 GB, free: 6.105 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/1.002, allocations: 46.7 kB / 0.6033 GB, free: 6.055 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/1.002, allocations: 24 kB / 0.6033 GB, free: 6.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005855/1.002, allocations: 313.9 kB / 0.6036 GB, free: 5.727 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/1.003, allocations: 0.5222 MB / 0.6041 GB, free: 5.137 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/1.003, allocations: 0 / 0.6041 GB, free: 5.137 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/1.003, allocations: 11.98 kB / 0.6042 GB, free: 5.125 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-05/1.003, allocations: 36.62 kB / 0.6042 GB, free: 5.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/1.006, allocations: 2.548 MB / 0.6067 GB, free: 2.426 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/1.007, allocations: 403.9 kB / 0.6071 GB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/1.008, allocations: 206.5 kB / 0.6073 GB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/1.008, allocations: 4 kB / 0.6073 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/1.008, allocations: 38.56 kB / 0.6073 GB, free: 1.742 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.477e-06/1.008, allocations: 0 / 0.6073 GB, free: 1.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009546/1.009, allocations: 410.2 kB / 0.6077 GB, free: 1.332 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/1.009, allocations: 114.9 kB / 0.6078 GB, free: 1.195 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/1.009, allocations: 239.6 kB / 0.608 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/1.009, allocations: 29.7 kB / 0.6081 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/1.009, allocations: 223.6 kB / 0.6083 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/1.009, allocations: 114.3 kB / 0.6084 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/1.009, allocations: 0 / 0.6084 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/1.009, allocations: 346.8 kB / 0.6087 GB, free: 244 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/1.01, allocations: 116.8 kB / 0.6088 GB, free: 124 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/1.01, allocations: 271.1 kB / 0.6091 GB, free: 15.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/1.01, allocations: 169.2 kB / 0.6092 GB, free: 15.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.01, allocations: 4 kB / 0.6093 GB, free: 15.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008952/1.011, allocations: 0.5078 MB / 0.6097 GB, free: 15.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/1.011, allocations: 16.06 kB / 0.6098 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.011, allocations: 4 kB / 0.6098 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/1.012, allocations: 117.9 kB / 0.6099 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/1.012, allocations: 71.91 kB / 0.6099 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/1.014, allocations: 2.124 MB / 0.612 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/1.015, allocations: 35.53 kB / 0.6121 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/1.015, allocations: 20 kB / 0.6121 GB, free: 12.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.015, allocations: 124.8 kB / 0.6122 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/1.015, allocations: 31.62 kB / 0.6122 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/1.015, allocations: 43.14 kB / 0.6123 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.015, allocations: 4 kB / 0.6123 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.015, allocations: 4 kB / 0.6123 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/1.015, allocations: 3.906 kB / 0.6123 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.016, allocations: 0.8651 MB / 0.6131 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.016, allocations: 4 kB / 0.6131 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/1.017, allocations: 35.92 kB / 0.6132 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/1.017, allocations: 109.1 kB / 0.6133 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/1.017, allocations: 7.984 kB / 0.6133 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/1.019, allocations: 2.119 MB / 0.6153 GB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.019, allocations: 4 kB / 0.6153 GB, free: 9.078 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008464/1.02, allocations: 0.6448 MB / 0.616 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000891/1.021, allocations: 1.021 MB / 0.617 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/1.021, allocations: 120.6 kB / 0.6171 GB, free: 7.164 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/1.021, allocations: 0 / 0.6171 GB, free: 7.164 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/1.021, allocations: 4 kB / 0.6171 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/1.021, allocations: 23.88 kB / 0.6171 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/1.022, allocations: 8 kB / 0.6171 GB, free: 7.129 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0002128/1.022, allocations: 187.1 kB / 0.6173 GB, free: 6.945 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001433/1.023, allocations: 139.7 kB / 0.6174 GB, free: 6.809 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001235/1.023, allocations: 97 kB / 0.6175 GB, free: 6.703 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008575/1.024, allocations: 474.7 kB / 0.618 GB, free: 6.227 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.024, allocations: 4.125 kB / 0.618 GB, free: 6.223 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/1.025, allocations: 297.5 kB / 0.6183 GB, free: 5.922 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/1.025, allocations: 41.02 kB / 0.6183 GB, free: 5.883 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.026, allocations: 0.6107 MB / 0.6189 GB, free: 5.238 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/1.027, allocations: 0.9004 MB / 0.6198 GB, free: 4.309 MB / 458.7 MB Notification: Performance of SimCode: time 4.21e-07/1.027, allocations: 4 kB / 0.6198 GB, free: 4.305 MB / 458.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat does not exist to compare? outputFormat=mat