Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.00166/0.00166, allocations: 175.6 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.819/1.819, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008539/0.0008539, allocations: 82.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2213/0.2213, allocations: 37.98 MB / 353.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.822e-05, allocations: 4 kB / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1426, allocations: 56.33 MB / 474.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.629, allocations: 95.84 MB / 0.5566 GB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.6293, allocations: 87.81 kB / 0.5567 GB, free: 7.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.124/0.7534, allocations: 54 MB / 0.6095 GB, free: 8.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7534, allocations: 3.984 kB / 0.6095 GB, free: 8.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.986e-05/0.7535, allocations: 12 kB / 0.6095 GB, free: 8.359 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001768/0.7553, allocations: 0.9683 MB / 0.6104 GB, free: 7.344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.7553, allocations: 8.031 kB / 0.6104 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.7555, allocations: 142.9 kB / 0.6106 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.7586, allocations: 390.5 kB / 0.6109 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.7596, allocations: 483.6 kB / 0.6114 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.7597, allocations: 57.98 kB / 0.6114 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.7598, allocations: 71.89 kB / 0.6115 GB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.7616, allocations: 1.129 MB / 0.6126 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.7616, allocations: 7.938 kB / 0.6126 GB, free: 5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.7617, allocations: 31.98 kB / 0.6127 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002829/0.762, allocations: 105.9 kB / 0.6128 GB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.7637, allocations: 1.167 MB / 0.6139 GB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005443/0.7692, allocations: 3.519 MB / 0.6173 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.7708, allocations: 1.037 MB / 0.6183 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008348/0.7717, allocations: 0.6288 MB / 0.619 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.909e-05/0.7718, allocations: 20.77 kB / 0.619 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.7718, allocations: 43.48 kB / 0.619 GB, free: 14.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.018e-06/0.7718, allocations: 3.938 kB / 0.619 GB, free: 14.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.003522/0.7754, allocations: 1.986 MB / 0.621 GB, free: 12.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.7754, allocations: 85.89 kB / 0.621 GB, free: 12.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.7758, allocations: 319.5 kB / 0.6214 GB, free: 11.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.7759, allocations: 37.7 kB / 0.6214 GB, free: 11.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.7761, allocations: 320.1 kB / 0.6217 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.7764, allocations: 319.5 kB / 0.622 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.7764, allocations: 16 kB / 0.622 GB, free: 11.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7766, allocations: 370.8 kB / 0.6224 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.7772, allocations: 425.8 kB / 0.6228 GB, free: 10.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.7779, allocations: 0.5343 MB / 0.6233 GB, free: 9.848 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.7787, allocations: 0.5018 MB / 0.6238 GB, free: 9.348 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7787, allocations: 0 / 0.6238 GB, free: 9.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002359/0.7811, allocations: 1.399 MB / 0.6252 GB, free: 7.938 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.7811, allocations: 8 kB / 0.6252 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.7811, allocations: 0 / 0.6252 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/0.782, allocations: 340.1 kB / 0.6255 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/0.7828, allocations: 183.7 kB / 0.6257 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005231/0.788, allocations: 3.905 MB / 0.6295 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008584/0.7889, allocations: 67.84 kB / 0.6295 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.789, allocations: 31.98 kB / 0.6296 GB, free: 3.254 MB / 426.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 () * 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.0002481/0.7893, allocations: 148.9 kB / 0.6297 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.7894, allocations: 55.34 kB / 0.6298 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/0.7923, allocations: 1.52 MB / 0.6312 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.7923, allocations: 12 kB / 0.6313 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7923, allocations: 4 kB / 0.6313 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.7923, allocations: 3.984 kB / 0.6313 GB, free: 1.496 MB / 426.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.005154/0.7975, allocations: 2.979 MB / 0.6342 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.7975, allocations: 4 kB / 0.6342 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/0.7982, allocations: 171.8 kB / 0.6343 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007966/0.799, allocations: 281.4 kB / 0.6346 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.799, allocations: 24 kB / 0.6346 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004654/0.8037, allocations: 3.592 MB / 0.6381 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.8037, allocations: 4 kB / 0.6381 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.8063, allocations: 1.705 MB / 0.6398 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.8065, allocations: 148.3 kB / 0.64 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.8066, allocations: 20 kB / 0.64 GB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.8071, allocations: 51.94 kB / 0.64 GB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.8072, allocations: 80.58 kB / 0.6401 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/0.8073, allocations: 35.98 kB / 0.6401 GB, free: 7.957 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003082/0.8076, allocations: 246.1 kB / 0.6404 GB, free: 7.715 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.8076, allocations: 0 / 0.6404 GB, free: 7.715 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001005/0.8086, allocations: 320 kB / 0.6407 GB, free: 7.402 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.003025/0.8117, allocations: 3.316 MB / 0.6439 GB, free: 3.953 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.8138, allocations: 1.324 MB / 0.6452 GB, free: 2.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.8138, allocations: 0 / 0.6452 GB, free: 2.617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.8151, allocations: 0.8235 MB / 0.646 GB, free: 1.777 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.8157, allocations: 97.78 kB / 0.6461 GB, free: 1.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.8187, allocations: 1.69 MB / 0.6478 GB, free: 15.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.8195, allocations: 1.089 MB / 0.6488 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004696/0.82, allocations: 180.6 kB / 0.649 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.8203, allocations: 255.3 kB / 0.6492 GB, free: 14.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.363e-06/0.8204, allocations: 4 kB / 0.6492 GB, free: 14.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.578/2.399, allocations: 15.16 MB / 0.664 GB, free: 15.23 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/2.399, allocations: 179.4 kB / 0.6642 GB, free: 15.01 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/4.794, allocations: 4 kB / 0.6642 GB, free: 15 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat does not exist to compare? outputFormat=mat