Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",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.001102/0.001102, allocations: 180.3 kB / 16.38 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.286/1.286, 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.000889/0.000889, allocations: 93.81 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.16/0.16, allocations: 38.06 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002974, allocations: 8 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2441, allocations: 56.33 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.3587, allocations: 95.85 MB / 0.5628 GB, free: 6.551 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.359, allocations: 83.95 kB / 0.5628 GB, free: 6.469 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1206/0.4796, allocations: 54.89 MB / 0.6164 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4797, allocations: 0 / 0.6164 GB, free: 14.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.4797, allocations: 19.94 kB / 0.6165 GB, free: 14.84 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00214/0.4819, allocations: 1.015 MB / 0.6175 GB, free: 13.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4819, allocations: 8.031 kB / 0.6175 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003246/0.4823, allocations: 138.9 kB / 0.6176 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.4856, allocations: 394.5 kB / 0.618 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.4866, allocations: 487.5 kB / 0.6184 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.4866, allocations: 53.98 kB / 0.6185 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.4868, allocations: 71.98 kB / 0.6186 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.4887, allocations: 1.144 MB / 0.6197 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.4887, allocations: 4 kB / 0.6197 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.4888, allocations: 27.98 kB / 0.6197 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/0.4891, allocations: 109.8 kB / 0.6198 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.4909, allocations: 1.191 MB / 0.621 GB, free: 10.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005183/0.4961, allocations: 3.523 MB / 0.6244 GB, free: 6.465 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.4976, allocations: 1.05 MB / 0.6254 GB, free: 5.395 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/0.4977, allocations: 24.97 kB / 0.6255 GB, free: 5.371 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4977, allocations: 43.52 kB / 0.6255 GB, free: 5.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 2.705e-06/0.4978, allocations: 0 / 0.6255 GB, free: 5.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006099/0.5039, allocations: 3.053 MB / 0.6285 GB, free: 2.238 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.5039, allocations: 94.23 kB / 0.6286 GB, free: 2.129 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.5042, allocations: 316.8 kB / 0.6289 GB, free: 1.816 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.5043, allocations: 41.7 kB / 0.6289 GB, free: 1.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5045, allocations: 316.2 kB / 0.6292 GB, free: 1.453 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.5047, allocations: 315.3 kB / 0.6295 GB, free: 1.141 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.5048, allocations: 16 kB / 0.6295 GB, free: 1.125 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5049, allocations: 366.8 kB / 0.6299 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.5055, allocations: 441.7 kB / 0.6303 GB, free: 332 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.5062, allocations: 0.5384 MB / 0.6308 GB, free: 15.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.5069, allocations: 0.5182 MB / 0.6313 GB, free: 15.24 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5069, allocations: 0 / 0.6313 GB, free: 15.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002175/0.5091, allocations: 1.423 MB / 0.6327 GB, free: 13.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5091, allocations: 10.66 kB / 0.6327 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.5091, allocations: 0 / 0.6327 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/0.51, allocations: 339.1 kB / 0.6331 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.5108, allocations: 191.7 kB / 0.6332 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004832/0.5156, allocations: 4.005 MB / 0.6372 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.5161, allocations: 59.92 kB / 0.6372 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.5162, allocations: 31.98 kB / 0.6372 GB, free: 9.027 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000389/0.5166, allocations: 285.6 kB / 0.6375 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.5167, allocations: 55.34 kB / 0.6376 GB, free: 8.684 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.5192, allocations: 1.539 MB / 0.6391 GB, free: 7.125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.5192, allocations: 12 kB / 0.6391 GB, free: 7.113 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5193, allocations: 4 kB / 0.6391 GB, free: 7.109 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5193, allocations: 7.922 kB / 0.6391 GB, free: 7.102 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004764/0.524, allocations: 3.005 MB / 0.642 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.5241, allocations: 4.062 kB / 0.642 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.5247, allocations: 175.8 kB / 0.6422 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007558/0.5255, allocations: 273.1 kB / 0.6425 GB, free: 3.527 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/0.5255, allocations: 31.98 kB / 0.6425 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2023/0.7278, allocations: 3.684 MB / 0.6461 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.7279, allocations: 7.688 kB / 0.6461 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.7304, allocations: 1.73 MB / 0.6478 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.7306, allocations: 142.8 kB / 0.6479 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/0.7307, allocations: 28.47 kB / 0.648 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.7311, allocations: 53.23 kB / 0.648 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.7313, allocations: 75.11 kB / 0.6481 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.7314, allocations: 30.59 kB / 0.6481 GB, free: 121.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002733/0.7316, allocations: 256 kB / 0.6483 GB, free: 121.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7317, allocations: 2.719 kB / 0.6483 GB, free: 121.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009542/0.7326, allocations: 322.8 kB / 0.6487 GB, free: 121.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002595/0.7352, allocations: 3.328 MB / 0.6519 GB, free: 119.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.7372, allocations: 1.346 MB / 0.6532 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7372, allocations: 1.25 kB / 0.6532 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.7384, allocations: 0.8287 MB / 0.654 GB, free: 119.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.7389, allocations: 84.39 kB / 0.6541 GB, free: 119.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/0.7463, allocations: 6.496 MB / 0.6605 GB, free: 116.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.747, allocations: 1.085 MB / 0.6615 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004759/0.7475, allocations: 184.8 kB / 0.6617 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.7478, allocations: 256.5 kB / 0.6619 GB, free: 116 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7478, allocations: 1.406 kB / 0.6619 GB, free: 116 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.773, allocations: 14.88 MB / 0.6765 GB, free: 115.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001266/0.7732, allocations: 217.3 kB / 0.6767 GB, free: 115 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.781, allocations: 0 / 0.6767 GB, free: 115 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat does not exist to compare? outputFormat=mat