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.001462/0.001462, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.852/1.852, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001007/0.001007, allocations: 78.67 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2065/0.2065, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.857e-05, allocations: 4 kB / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 56.32 MB / 474.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/0.6374, allocations: 99.5 MB / 0.5602 GB, free: 4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.6378, allocations: 91.11 kB / 0.5603 GB, free: 3.953 MB / 362.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.1164/0.7542, allocations: 51.83 MB / 0.6109 GB, free: 6.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.105e-06/0.7543, allocations: 4 kB / 0.6109 GB, free: 6.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.648e-05/0.7543, allocations: 4 kB / 0.6109 GB, free: 6.637 MB / 410.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.001665/0.756, allocations: 0.6823 MB / 0.6116 GB, free: 5.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.756, allocations: 16.02 kB / 0.6116 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002258/0.7563, allocations: 82.52 kB / 0.6117 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.7581, allocations: 119.3 kB / 0.6118 GB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.7588, allocations: 334.2 kB / 0.6121 GB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.051e-05/0.7589, allocations: 58.69 kB / 0.6121 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.099e-05/0.759, allocations: 43.97 kB / 0.6122 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.7601, allocations: 0.5752 MB / 0.6128 GB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.7602, allocations: 0 / 0.6128 GB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.7602, allocations: 19.98 kB / 0.6128 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.7604, allocations: 44.67 kB / 0.6128 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006839/0.7611, allocations: 370.7 kB / 0.6132 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.7638, allocations: 2.612 MB / 0.6157 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.7644, allocations: 420 kB / 0.6161 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.7647, allocations: 206.5 kB / 0.6163 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.7648, allocations: 7.938 kB / 0.6163 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.7648, allocations: 42.55 kB / 0.6164 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.7648, allocations: 0 / 0.6164 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007965/0.7656, allocations: 438.2 kB / 0.6168 GB, free: 264 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.7657, allocations: 110.8 kB / 0.6169 GB, free: 128 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.766, allocations: 270.8 kB / 0.6171 GB, free: 15.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.766, allocations: 33.7 kB / 0.6172 GB, free: 15.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.7662, allocations: 243.9 kB / 0.6174 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.7663, allocations: 126.1 kB / 0.6175 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.7664, allocations: 11.97 kB / 0.6175 GB, free: 15.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.7665, allocations: 354.8 kB / 0.6179 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.7668, allocations: 116.8 kB / 0.618 GB, free: 14.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.7671, allocations: 276 kB / 0.6183 GB, free: 14.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.7673, allocations: 177.2 kB / 0.6184 GB, free: 14.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.7674, allocations: 4 kB / 0.6184 GB, free: 14.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008255/0.7682, allocations: 0.5426 MB / 0.619 GB, free: 13.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.7682, allocations: 7.953 kB / 0.619 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.7682, allocations: 8.594 kB / 0.619 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.7686, allocations: 120.8 kB / 0.6191 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.7689, allocations: 75.91 kB / 0.6192 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.7716, allocations: 2.347 MB / 0.6215 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.7719, allocations: 47.53 kB / 0.6215 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.7719, allocations: 16 kB / 0.6215 GB, free: 11.13 MB / 426.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.0001558/0.7721, allocations: 128.9 kB / 0.6216 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.7721, allocations: 35.53 kB / 0.6217 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.7723, allocations: 52.08 kB / 0.6217 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.7723, allocations: 7.984 kB / 0.6217 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.7723, allocations: 4 kB / 0.6217 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.7723, allocations: 4.062 kB / 0.6217 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.7737, allocations: 0.9265 MB / 0.6226 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.7737, allocations: 0 / 0.6226 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.7738, allocations: 35.92 kB / 0.6227 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/0.7741, allocations: 115.9 kB / 0.6228 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.7741, allocations: 11.98 kB / 0.6228 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.7767, allocations: 2.33 MB / 0.6251 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7767, allocations: 0 / 0.6251 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.7774, allocations: 0.6645 MB / 0.6257 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.7775, allocations: 116.7 kB / 0.6258 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.7776, allocations: 8 kB / 0.6258 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.7778, allocations: 8 kB / 0.6258 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.7778, allocations: 23.97 kB / 0.6259 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.7779, allocations: 11.95 kB / 0.6259 GB, free: 6.363 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000228/0.7781, allocations: 226.1 kB / 0.6261 GB, free: 6.141 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7781, allocations: 0 / 0.6261 GB, free: 6.141 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006423/0.7787, allocations: 159.7 kB / 0.6262 GB, free: 5.984 MB / 426.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.001248/0.78, allocations: 1.481 MB / 0.6277 GB, free: 4.449 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008269/0.7808, allocations: 0.4997 MB / 0.6282 GB, free: 3.938 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7809, allocations: 0 / 0.6282 GB, free: 3.938 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.7813, allocations: 338.1 kB / 0.6285 GB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.7817, allocations: 56.45 kB / 0.6286 GB, free: 3.539 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.783, allocations: 0.7379 MB / 0.6293 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.7835, allocations: 0.8863 MB / 0.6301 GB, free: 1.836 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.7836, allocations: 70.91 kB / 0.6302 GB, free: 1.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.7838, allocations: 119.4 kB / 0.6303 GB, free: 1.652 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.7838, allocations: 0 / 0.6303 GB, free: 1.652 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.8044, allocations: 6.941 MB / 0.6371 GB, free: 10.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.8046, allocations: 179.2 kB / 0.6373 GB, free: 10.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.246, allocations: 0 / 0.6373 GB, free: 10.52 MB / 442.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