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.001112/0.001112, allocations: 180.6 kB / 16.39 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.287/1.287, 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.0008772/0.0008772, allocations: 88.14 kB / 270.8 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1587/0.1587, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.0002817, allocations: 8 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2477, allocations: 56.33 MB / 480.4 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.3694, allocations: 95.93 MB / 0.5628 GB, free: 6.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3696, allocations: 83.95 kB / 0.5629 GB, free: 6.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1176/0.4872, allocations: 54.31 MB / 0.616 GB, free: 15.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4873, allocations: 0 / 0.616 GB, free: 15.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.32e-05/0.4873, allocations: 16 kB / 0.616 GB, free: 15.32 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.001667/0.489, allocations: 1.019 MB / 0.617 GB, free: 14.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.4891, allocations: 8.031 kB / 0.617 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.4892, allocations: 138.9 kB / 0.6171 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.4923, allocations: 398.5 kB / 0.6175 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/0.4931, allocations: 483.5 kB / 0.618 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.4932, allocations: 57.98 kB / 0.618 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.4933, allocations: 67.98 kB / 0.6181 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.4949, allocations: 1.148 MB / 0.6192 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.4949, allocations: 3.938 kB / 0.6192 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.495, allocations: 31.98 kB / 0.6192 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.4953, allocations: 101.9 kB / 0.6193 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.4969, allocations: 1.187 MB / 0.6205 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004834/0.5017, allocations: 3.515 MB / 0.6239 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.5032, allocations: 1.061 MB / 0.625 GB, free: 5.883 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-05/0.5032, allocations: 21.05 kB / 0.625 GB, free: 5.863 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5033, allocations: 47.52 kB / 0.625 GB, free: 5.809 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 2.605e-06/0.5033, allocations: 0 / 0.625 GB, free: 5.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006026/0.5093, allocations: 3.058 MB / 0.628 GB, free: 2.723 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.5094, allocations: 90.11 kB / 0.6281 GB, free: 2.617 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.5097, allocations: 316.8 kB / 0.6284 GB, free: 2.305 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.5097, allocations: 41.7 kB / 0.6284 GB, free: 2.258 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.5099, allocations: 316.2 kB / 0.6287 GB, free: 1.941 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.5102, allocations: 315.4 kB / 0.629 GB, free: 1.629 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.5102, allocations: 20 kB / 0.6291 GB, free: 1.609 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5104, allocations: 366.8 kB / 0.6294 GB, free: 1.242 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.511, allocations: 437.7 kB / 0.6298 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.5116, allocations: 0.5383 MB / 0.6303 GB, free: 252 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.5123, allocations: 0.5183 MB / 0.6309 GB, free: 15.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5123, allocations: 0 / 0.6309 GB, free: 15.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002192/0.5145, allocations: 1.423 MB / 0.6322 GB, free: 14.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.5145, allocations: 10.66 kB / 0.6323 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5146, allocations: 0 / 0.6323 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000912/0.5155, allocations: 335 kB / 0.6326 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/0.5162, allocations: 195.7 kB / 0.6328 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00488/0.5211, allocations: 3.997 MB / 0.6367 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.5218, allocations: 63.91 kB / 0.6367 GB, free: 9.547 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.5218, allocations: 28 kB / 0.6367 GB, free: 9.52 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.0004427/0.5223, allocations: 293.7 kB / 0.637 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.5224, allocations: 59.34 kB / 0.6371 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.5249, allocations: 1.528 MB / 0.6386 GB, free: 7.621 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.525, allocations: 12 kB / 0.6386 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.525, allocations: 8 kB / 0.6386 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.525, allocations: 11.91 kB / 0.6386 GB, free: 7.59 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.004632/0.5296, allocations: 3.001 MB / 0.6415 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.5297, allocations: 4 kB / 0.6415 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.5303, allocations: 171.8 kB / 0.6417 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007435/0.531, allocations: 281.4 kB / 0.642 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.5311, allocations: 28 kB / 0.642 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004361/0.5355, allocations: 3.702 MB / 0.6456 GB, free: 140 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5355, allocations: 4 kB / 0.6456 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1709/0.7064, allocations: 1.726 MB / 0.6473 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.7066, allocations: 144.8 kB / 0.6474 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/0.7067, allocations: 22.62 kB / 0.6475 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.7072, allocations: 47.45 kB / 0.6475 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.7074, allocations: 82.59 kB / 0.6476 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.7074, allocations: 32.17 kB / 0.6476 GB, free: 123.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.7077, allocations: 253.6 kB / 0.6479 GB, free: 123.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7077, allocations: 0 / 0.6479 GB, free: 123.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009363/0.7087, allocations: 321.1 kB / 0.6482 GB, free: 123.2 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.002491/0.7111, allocations: 3.327 MB / 0.6514 GB, free: 121.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.7131, allocations: 1.341 MB / 0.6527 GB, free: 121 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7131, allocations: 4.188 kB / 0.6527 GB, free: 121 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.7142, allocations: 0.8309 MB / 0.6535 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.7147, allocations: 87.89 kB / 0.6536 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008035/0.7228, allocations: 6.479 MB / 0.66 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/0.7236, allocations: 1.088 MB / 0.661 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005268/0.7242, allocations: 184 kB / 0.6612 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.7246, allocations: 260.9 kB / 0.6614 GB, free: 117.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/0.7246, allocations: 3.031 kB / 0.6614 GB, free: 117.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.7513, allocations: 14.89 MB / 0.676 GB, free: 116.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/0.7515, allocations: 209.2 kB / 0.6762 GB, free: 116.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.796, allocations: 3.906 kB / 0.6762 GB, free: 116.5 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