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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009831/0.0009833, allocations: 181.7 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008658/0.0008655, allocations: 105.7 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1536/0.1536, allocations: 38.05 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002999, allocations: 8 kB / 424.1 MB, free: 37.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2315, allocations: 56.32 MB / 480.4 MB, free: 9.566 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1162/0.3477, allocations: 99.59 MB / 0.5664 GB, free: 2.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.348, allocations: 87.95 kB / 0.5665 GB, free: 2.711 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: Performance of FrontEnd - DAE generated: time 0.106/0.454, allocations: 52.14 MB / 0.6174 GB, free: 13.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4541, allocations: 0 / 0.6174 GB, free: 13.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.4541, allocations: 11.98 kB / 0.6174 GB, free: 13.59 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0012/0.4553, allocations: 0.7332 MB / 0.6181 GB, free: 12.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4553, allocations: 8.031 kB / 0.6181 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.4555, allocations: 78.52 kB / 0.6182 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.457, allocations: 135.2 kB / 0.6183 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.4577, allocations: 330.3 kB / 0.6187 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.4577, allocations: 54.69 kB / 0.6187 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.4578, allocations: 44 kB / 0.6188 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008472/0.4587, allocations: 0.5788 MB / 0.6193 GB, free: 11.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4587, allocations: 3.938 kB / 0.6193 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.4587, allocations: 19.98 kB / 0.6193 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.868e-05/0.4588, allocations: 36.62 kB / 0.6194 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.4594, allocations: 382.1 kB / 0.6197 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.4619, allocations: 2.603 MB / 0.6223 GB, free: 8.301 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.4625, allocations: 435.9 kB / 0.6227 GB, free: 7.844 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4626, allocations: 8.047 kB / 0.6227 GB, free: 7.836 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4626, allocations: 30.56 kB / 0.6227 GB, free: 7.797 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.4626, allocations: 0 / 0.6227 GB, free: 7.797 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.001651/0.4643, allocations: 0.7616 MB / 0.6235 GB, free: 7.008 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4643, allocations: 106.8 kB / 0.6236 GB, free: 6.879 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.4646, allocations: 287.8 kB / 0.6239 GB, free: 6.594 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4646, allocations: 33.7 kB / 0.6239 GB, free: 6.555 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.4648, allocations: 243.8 kB / 0.6241 GB, free: 6.312 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.4649, allocations: 114.4 kB / 0.6242 GB, free: 6.199 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.4649, allocations: 15.94 kB / 0.6242 GB, free: 6.184 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4651, allocations: 346.8 kB / 0.6246 GB, free: 5.836 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.4653, allocations: 124.8 kB / 0.6247 GB, free: 5.711 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.4656, allocations: 284 kB / 0.625 GB, free: 5.363 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.4658, allocations: 181.2 kB / 0.6251 GB, free: 5.188 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4659, allocations: 0 / 0.6251 GB, free: 5.188 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008218/0.4667, allocations: 0.5465 MB / 0.6257 GB, free: 4.633 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.4667, allocations: 11.08 kB / 0.6257 GB, free: 4.625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4667, allocations: 11.94 kB / 0.6257 GB, free: 4.613 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.4671, allocations: 128.1 kB / 0.6258 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.4673, allocations: 83.84 kB / 0.6259 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.4697, allocations: 2.384 MB / 0.6282 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.47, allocations: 47.44 kB / 0.6283 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.47, allocations: 20 kB / 0.6283 GB, free: 1.805 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 () * Number of clocked 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.0002418/0.4703, allocations: 205.5 kB / 0.6285 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.4703, allocations: 35.62 kB / 0.6285 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.4704, allocations: 47.95 kB / 0.6286 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.4705, allocations: 4 kB / 0.6286 GB, free: 1.508 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.4705, allocations: 8.062 kB / 0.6286 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4705, allocations: 3.984 kB / 0.6286 GB, free: 1.496 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.4717, allocations: 0.9303 MB / 0.6295 GB, free: 0.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4717, allocations: 4 kB / 0.6295 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.4719, allocations: 40.05 kB / 0.6295 GB, free: 468 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/0.4721, allocations: 100.8 kB / 0.6296 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.4721, allocations: 7.984 kB / 0.6296 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.4743, allocations: 2.384 MB / 0.632 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4743, allocations: 4.031 kB / 0.632 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.475, allocations: 0.6683 MB / 0.6326 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4751, allocations: 116.6 kB / 0.6327 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.4752, allocations: 8 kB / 0.6327 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.4753, allocations: 8 kB / 0.6327 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.4754, allocations: 24.06 kB / 0.6328 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.4754, allocations: 15.94 kB / 0.6328 GB, free: 12.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.4756, allocations: 219 kB / 0.633 GB, free: 12.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4756, allocations: 0 / 0.633 GB, free: 12.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006596/0.4763, allocations: 159.8 kB / 0.6331 GB, free: 12.54 MB / 474.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 () * Number of clocked 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.001038/0.4773, allocations: 1.493 MB / 0.6346 GB, free: 10.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.4781, allocations: 0.5074 MB / 0.6351 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4782, allocations: 0 / 0.6351 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.4786, allocations: 350.8 kB / 0.6354 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.479, allocations: 61.8 kB / 0.6355 GB, free: 10.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.4834, allocations: 5.597 MB / 0.641 GB, free: 4.301 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.4839, allocations: 0.8863 MB / 0.6418 GB, free: 3.383 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.4841, allocations: 70.91 kB / 0.6419 GB, free: 3.312 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.4842, allocations: 119.4 kB / 0.642 GB, free: 3.195 MB / 474.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4843, allocations: 0 / 0.642 GB, free: 3.195 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1928/0.677, allocations: 6.907 MB / 0.6487 GB, free: 126.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/0.6772, allocations: 205.6 kB / 0.6489 GB, free: 126.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.511, allocations: 0 / 0.6489 GB, free: 126.5 MB / 474.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