Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001816/0.001816, allocations: 174.8 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.746/1.746, 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.0009866/0.0009866, allocations: 74.73 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1534/0.1534, allocations: 37.98 MB / 353.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.076e-05, allocations: 0 / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 56.31 MB / 474.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3926/0.4952, allocations: 95.6 MB / 0.5564 GB, free: 7.473 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4955, allocations: 80.06 kB / 0.5565 GB, free: 7.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1335/0.629, allocations: 57.48 MB / 0.6126 GB, free: 5.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6291, allocations: 4 kB / 0.6126 GB, free: 5.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.879e-05/0.6291, allocations: 16 kB / 0.6126 GB, free: 5.133 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001985/0.6311, allocations: 1.007 MB / 0.6136 GB, free: 4.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.6311, allocations: 8.031 kB / 0.6136 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.6313, allocations: 139.2 kB / 0.6137 GB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.6347, allocations: 426.4 kB / 0.6141 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/0.6356, allocations: 0.4931 MB / 0.6146 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.6357, allocations: 53.98 kB / 0.6147 GB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.6358, allocations: 71.98 kB / 0.6147 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.6376, allocations: 1.187 MB / 0.6159 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.6377, allocations: 0 / 0.6159 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.6378, allocations: 35.94 kB / 0.6159 GB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/0.6381, allocations: 109.9 kB / 0.616 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.64, allocations: 1.23 MB / 0.6172 GB, free: 268 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006131/0.6461, allocations: 3.708 MB / 0.6209 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.648, allocations: 1.074 MB / 0.6219 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008472/0.6489, allocations: 0.6252 MB / 0.6225 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.92e-05/0.6489, allocations: 20.77 kB / 0.6225 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.649, allocations: 39.34 kB / 0.6226 GB, free: 10.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 5.24e-06/0.649, allocations: 7.984 kB / 0.6226 GB, free: 10.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.003711/0.6527, allocations: 2.001 MB / 0.6245 GB, free: 8.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.6528, allocations: 93.81 kB / 0.6246 GB, free: 8.512 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.6532, allocations: 327.5 kB / 0.6249 GB, free: 8.191 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.6533, allocations: 41.69 kB / 0.625 GB, free: 8.145 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.6536, allocations: 324.1 kB / 0.6253 GB, free: 7.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.6539, allocations: 319.4 kB / 0.6256 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.6539, allocations: 16 kB / 0.6256 GB, free: 7.488 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.6541, allocations: 370.7 kB / 0.626 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.6548, allocations: 441.8 kB / 0.6264 GB, free: 6.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.6555, allocations: 0.5315 MB / 0.6269 GB, free: 6.117 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.6564, allocations: 0.5201 MB / 0.6274 GB, free: 5.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6564, allocations: 0 / 0.6274 GB, free: 5.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002464/0.6589, allocations: 1.412 MB / 0.6288 GB, free: 4.176 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.6589, allocations: 6.5 kB / 0.6288 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.6589, allocations: 4 kB / 0.6288 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009641/0.6599, allocations: 339.9 kB / 0.6291 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/0.6607, allocations: 187.7 kB / 0.6293 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/0.6662, allocations: 3.884 MB / 0.6331 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007765/0.667, allocations: 63.83 kB / 0.6332 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.6671, allocations: 35.98 kB / 0.6332 GB, free: 15.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0002509/0.6673, allocations: 148.7 kB / 0.6333 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.6675, allocations: 63.36 kB / 0.6334 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.6703, allocations: 1.505 MB / 0.6349 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.6704, allocations: 12 kB / 0.6349 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.6704, allocations: 15.98 kB / 0.6349 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6704, allocations: 3.984 kB / 0.6349 GB, free: 13.74 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00628/0.6767, allocations: 2.98 MB / 0.6378 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.6767, allocations: 4 kB / 0.6378 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.6775, allocations: 167.8 kB / 0.638 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009513/0.6785, allocations: 277 kB / 0.6382 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.6786, allocations: 31.98 kB / 0.6383 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00548/0.6841, allocations: 3.603 MB / 0.6418 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6841, allocations: 4 kB / 0.6418 GB, free: 6.406 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.6871, allocations: 1.697 MB / 0.6434 GB, free: 4.547 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.6874, allocations: 144.3 kB / 0.6436 GB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.6875, allocations: 27.98 kB / 0.6436 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.6881, allocations: 47.95 kB / 0.6437 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.6883, allocations: 88.5 kB / 0.6437 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.6884, allocations: 28 kB / 0.6438 GB, free: 4.199 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003842/0.6888, allocations: 254.1 kB / 0.644 GB, free: 3.949 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6888, allocations: 4 kB / 0.644 GB, free: 3.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001248/0.69, allocations: 328.9 kB / 0.6443 GB, free: 3.625 MB / 442.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 () * 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.003461/0.6935, allocations: 3.305 MB / 0.6476 GB, free: 192 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.6959, allocations: 1.326 MB / 0.6489 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6959, allocations: 0 / 0.6489 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.6972, allocations: 0.8041 MB / 0.6496 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.698, allocations: 86.08 kB / 0.6497 GB, free: 13.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.7017, allocations: 1.721 MB / 0.6514 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009127/0.7026, allocations: 1.105 MB / 0.6525 GB, free: 11.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005371/0.7032, allocations: 180.7 kB / 0.6526 GB, free: 10.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.7037, allocations: 275.3 kB / 0.6529 GB, free: 10.56 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7037, allocations: 7.938 kB / 0.6529 GB, free: 10.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.7387, allocations: 15.36 MB / 0.6679 GB, free: 11.22 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.7389, allocations: 178.4 kB / 0.6681 GB, free: 11 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.206, allocations: 0 / 0.6681 GB, free: 11 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat does not exist to compare? outputFormat=mat