Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001077/0.001077, 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.273/1.273, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0008277/0.0008276, allocations: 101.2 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1632/0.1632, allocations: 38.06 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002644, allocations: 8 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2311, allocations: 56.32 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.347, allocations: 99.48 MB / 0.5663 GB, free: 2.906 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.3473, allocations: 87.95 kB / 0.5664 GB, free: 2.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.134/0.4813, allocations: 59.35 MB / 0.6243 GB, free: 6.758 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4813, allocations: 0 / 0.6243 GB, free: 6.758 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.329e-05/0.4814, allocations: 16 kB / 0.6244 GB, free: 6.742 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002145/0.4835, allocations: 1.194 MB / 0.6255 GB, free: 5.496 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4836, allocations: 12.03 kB / 0.6255 GB, free: 5.484 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002021/0.4838, allocations: 160.6 kB / 0.6257 GB, free: 5.316 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/0.4873, allocations: 0.5058 MB / 0.6262 GB, free: 4.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009617/0.4882, allocations: 0.553 MB / 0.6267 GB, free: 4.211 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.4883, allocations: 61.98 kB / 0.6268 GB, free: 4.152 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.4884, allocations: 91.98 kB / 0.6269 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.4905, allocations: 1.457 MB / 0.6283 GB, free: 2.566 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.4905, allocations: 8 kB / 0.6283 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.4906, allocations: 35.98 kB / 0.6283 GB, free: 2.523 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000278/0.4909, allocations: 133.9 kB / 0.6285 GB, free: 2.391 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.4929, allocations: 1.491 MB / 0.6299 GB, free: 0.8906 MB / 458.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 preOpt removeSimpleEquations (simulation): time 0.006606/0.4996, allocations: 4.861 MB / 0.6347 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.5011, allocations: 1.155 MB / 0.6358 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/0.5012, allocations: 17.12 kB / 0.6358 GB, free: 10.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.5012, allocations: 43.56 kB / 0.6359 GB, free: 10.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.5012, allocations: 0 / 0.6359 GB, free: 10.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.007582/0.5088, allocations: 3.73 MB / 0.6395 GB, free: 6.789 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.5089, allocations: 86.11 kB / 0.6396 GB, free: 6.688 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.5094, allocations: 416.9 kB / 0.64 GB, free: 6.273 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.5095, allocations: 41.7 kB / 0.64 GB, free: 6.227 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.5097, allocations: 435.5 kB / 0.6404 GB, free: 5.793 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.51, allocations: 366.6 kB / 0.6408 GB, free: 5.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.5101, allocations: 24 kB / 0.6408 GB, free: 5.406 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5103, allocations: 382.8 kB / 0.6412 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.511, allocations: 0.5179 MB / 0.6417 GB, free: 4.504 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008477/0.5119, allocations: 0.7305 MB / 0.6424 GB, free: 3.695 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/0.5127, allocations: 0.6432 MB / 0.643 GB, free: 3.055 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5128, allocations: 4 kB / 0.643 GB, free: 3.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002748/0.5155, allocations: 1.775 MB / 0.6448 GB, free: 1.258 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5155, allocations: 10.5 kB / 0.6448 GB, free: 1.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.5156, allocations: 11.94 kB / 0.6448 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.5166, allocations: 403.6 kB / 0.6452 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.5175, allocations: 239.6 kB / 0.6454 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1662/0.6837, allocations: 5.748 MB / 0.651 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008859/0.6847, allocations: 69.27 kB / 0.6511 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.6848, allocations: 44.03 kB / 0.6511 GB, free: 119 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005555/0.6853, allocations: 367.3 kB / 0.6515 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.6855, allocations: 76.33 kB / 0.6515 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.6883, allocations: 1.78 MB / 0.6533 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6883, allocations: 17.23 kB / 0.6533 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6883, allocations: 6.938 kB / 0.6533 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.6883, allocations: 7.812 kB / 0.6533 GB, free: 118.8 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.005393/0.6937, allocations: 3.434 MB / 0.6567 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.6937, allocations: 3.156 kB / 0.6567 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/0.6945, allocations: 184.4 kB / 0.6568 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008943/0.6954, allocations: 347.5 kB / 0.6572 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/0.6955, allocations: 26.92 kB / 0.6572 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005679/0.7011, allocations: 5.474 MB / 0.6625 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7012, allocations: 7.25 kB / 0.6625 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.7039, allocations: 1.967 MB / 0.6645 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.7041, allocations: 157.1 kB / 0.6646 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.7042, allocations: 26.06 kB / 0.6646 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.7048, allocations: 53.83 kB / 0.6647 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.7049, allocations: 88.72 kB / 0.6648 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.705, allocations: 37.7 kB / 0.6648 GB, free: 114.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003813/0.7054, allocations: 322.2 kB / 0.6651 GB, free: 114.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7054, allocations: 1.203 kB / 0.6651 GB, free: 114.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00122/0.7066, allocations: 410.5 kB / 0.6655 GB, free: 114.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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002802/0.7094, allocations: 3.575 MB / 0.669 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.7118, allocations: 1.716 MB / 0.6707 GB, free: 112.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7119, allocations: 7.062 kB / 0.6707 GB, free: 112.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.7132, allocations: 1.066 MB / 0.6717 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.7137, allocations: 107.4 kB / 0.6718 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007421/0.7211, allocations: 10.14 MB / 0.6817 GB, free: 106.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.7217, allocations: 1.201 MB / 0.6829 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000495/0.7222, allocations: 234.3 kB / 0.6831 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.7225, allocations: 342.6 kB / 0.6834 GB, free: 105.4 MB / 474.7 MB Notification: Performance of SimCode: time 3.81e-07/0.7225, allocations: 3.281 kB / 0.6835 GB, free: 105.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.7494, allocations: 18.51 MB / 0.7015 GB, free: 104.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.7496, allocations: 218.2 kB / 0.7017 GB, free: 104.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.859, allocations: 0 / 0.7017 GB, free: 104.2 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat does not exist to compare? outputFormat=mat