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.000968/0.000968, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.196/1.196, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.000767/0.000767, allocations: 98.94 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1552/0.1552, allocations: 38.06 MB / 357.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 8 kB / 424.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2241, allocations: 56.32 MB / 480.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.3354, allocations: 95.69 MB / 0.5626 GB, free: 6.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.3357, allocations: 91.92 kB / 0.5627 GB, free: 6.629 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.126/0.4617, allocations: 57.79 MB / 0.6191 GB, free: 12.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.4617, allocations: 0 / 0.6191 GB, free: 12.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.074e-05/0.4618, allocations: 16 kB / 0.6191 GB, free: 12.11 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00203/0.4638, allocations: 1.062 MB / 0.6202 GB, free: 11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4639, allocations: 11.97 kB / 0.6202 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.4641, allocations: 135.2 kB / 0.6203 GB, free: 10.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/0.4675, allocations: 426.4 kB / 0.6207 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009682/0.4684, allocations: 0.4962 MB / 0.6212 GB, free: 9.887 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.4685, allocations: 50 kB / 0.6212 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.4686, allocations: 71.98 kB / 0.6213 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.4705, allocations: 1.199 MB / 0.6225 GB, free: 8.543 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.4705, allocations: 0 / 0.6225 GB, free: 8.543 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.4706, allocations: 35.94 kB / 0.6225 GB, free: 8.508 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/0.4709, allocations: 109.9 kB / 0.6226 GB, free: 8.402 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.4726, allocations: 1.261 MB / 0.6239 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005168/0.4778, allocations: 3.7 MB / 0.6275 GB, free: 3.328 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.4794, allocations: 1.094 MB / 0.6285 GB, free: 2.203 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-05/0.4795, allocations: 21.2 kB / 0.6286 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4795, allocations: 47.55 kB / 0.6286 GB, free: 2.129 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 2.685e-06/0.4795, allocations: 0 / 0.6286 GB, free: 2.129 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.006021/0.4856, allocations: 3.046 MB / 0.6316 GB, free: 15.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.4856, allocations: 86.11 kB / 0.6317 GB, free: 14.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.486, allocations: 328.8 kB / 0.632 GB, free: 14.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.4861, allocations: 41.7 kB / 0.632 GB, free: 14.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.4863, allocations: 324 kB / 0.6323 GB, free: 14.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.4865, allocations: 319.4 kB / 0.6326 GB, free: 13.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.4866, allocations: 12 kB / 0.6326 GB, free: 13.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4868, allocations: 382.8 kB / 0.633 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.4874, allocations: 437.7 kB / 0.6334 GB, free: 13.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.4881, allocations: 0.543 MB / 0.634 GB, free: 12.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.4888, allocations: 0.5222 MB / 0.6345 GB, free: 12.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4888, allocations: 0 / 0.6345 GB, free: 12.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002235/0.491, allocations: 1.431 MB / 0.6359 GB, free: 10.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4911, allocations: 10.66 kB / 0.6359 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4911, allocations: 4 kB / 0.6359 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009134/0.492, allocations: 339.1 kB / 0.6362 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/0.4928, allocations: 195.7 kB / 0.6364 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/0.4977, allocations: 3.998 MB / 0.6403 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.4983, allocations: 59.92 kB / 0.6403 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.4983, allocations: 31.98 kB / 0.6404 GB, free: 5.793 MB / 474.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 () * Number of clocked 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.0004071/0.4987, allocations: 301.7 kB / 0.6407 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4989, allocations: 63.28 kB / 0.6407 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.5013, allocations: 1.524 MB / 0.6422 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.5013, allocations: 15.98 kB / 0.6422 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5013, allocations: 8 kB / 0.6422 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5013, allocations: 3.984 kB / 0.6422 GB, free: 3.859 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.004521/0.5059, allocations: 2.994 MB / 0.6452 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.5059, allocations: 7.953 kB / 0.6452 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.5065, allocations: 175.7 kB / 0.6453 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/0.5073, allocations: 277 kB / 0.6456 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.5073, allocations: 28 kB / 0.6456 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1641/0.6714, allocations: 3.691 MB / 0.6492 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6714, allocations: 7.062 kB / 0.6492 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.6739, allocations: 1.725 MB / 0.6509 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.674, allocations: 146.1 kB / 0.6511 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.6741, allocations: 24.45 kB / 0.6511 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.6745, allocations: 51.27 kB / 0.6511 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6747, allocations: 77.53 kB / 0.6512 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.6748, allocations: 34.47 kB / 0.6512 GB, free: 119.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002582/0.675, allocations: 266.8 kB / 0.6515 GB, free: 119.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.675, allocations: 0 / 0.6515 GB, free: 119.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009035/0.6759, allocations: 326.1 kB / 0.6518 GB, free: 119.6 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.002407/0.6783, allocations: 3.322 MB / 0.6551 GB, free: 117.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.6802, allocations: 1.341 MB / 0.6564 GB, free: 117.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6802, allocations: 1.5 kB / 0.6564 GB, free: 117.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.6813, allocations: 0.8214 MB / 0.6572 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.6817, allocations: 89.94 kB / 0.6573 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007058/0.6888, allocations: 6.743 MB / 0.6638 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/0.6895, allocations: 1.099 MB / 0.6649 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004617/0.6899, allocations: 184.8 kB / 0.6651 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.6903, allocations: 276.6 kB / 0.6654 GB, free: 113.6 MB / 474.7 MB Notification: Performance of SimCode: time 3.317e-06/0.6903, allocations: 0 / 0.6654 GB, free: 113.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.7163, allocations: 15.1 MB / 0.6801 GB, free: 112.8 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.7165, allocations: 215.8 kB / 0.6803 GB, free: 112.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.775, allocations: 0 / 0.6803 GB, free: 112.6 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