Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_cpp_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.001579/0.001579, allocations: 181.8 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001151/0.00115, allocations: 82.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2727/0.2727, allocations: 38.06 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004783, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 56.32 MB / 479.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6094, allocations: 99.47 MB / 0.565 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.6098, allocations: 86.95 kB / 0.5651 GB, free: 0.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.255/0.8649, allocations: 59.35 MB / 0.6231 GB, free: 12.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.8649, allocations: 0 / 0.6231 GB, free: 12.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.592e-05/0.865, allocations: 20 kB / 0.6231 GB, free: 12.42 MB / 426.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.004274/0.8693, allocations: 1.19 MB / 0.6243 GB, free: 11.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.8694, allocations: 8.031 kB / 0.6243 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006703/0.8701, allocations: 164.6 kB / 0.6244 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006765/0.8768, allocations: 0.5058 MB / 0.6249 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.8788, allocations: 0.5568 MB / 0.6255 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.879, allocations: 65.98 kB / 0.6255 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000399/0.8794, allocations: 87.98 kB / 0.6256 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004643/0.884, allocations: 1.461 MB / 0.627 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.217e-05/0.8842, allocations: 3.984 kB / 0.627 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.8844, allocations: 47.91 kB / 0.6271 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000619/0.885, allocations: 137.9 kB / 0.6272 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005143/0.8901, allocations: 1.484 MB / 0.6287 GB, free: 6.566 MB / 426.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.01617/0.9064, allocations: 4.857 MB / 0.6334 GB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/0.9101, allocations: 1.152 MB / 0.6345 GB, free: 332 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.9103, allocations: 21.11 kB / 0.6346 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/0.9104, allocations: 43.56 kB / 0.6346 GB, free: 260 kB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 4.278e-06/0.9104, allocations: 0 / 0.6346 GB, free: 260 kB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.01642/0.9268, allocations: 3.73 MB / 0.6382 GB, free: 12.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.927, allocations: 90.11 kB / 0.6383 GB, free: 12.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/0.9279, allocations: 416.9 kB / 0.6387 GB, free: 11.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.9282, allocations: 41.7 kB / 0.6388 GB, free: 11.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.9287, allocations: 469.9 kB / 0.6392 GB, free: 11.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007715/0.9295, allocations: 374.6 kB / 0.6396 GB, free: 11.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.9296, allocations: 20 kB / 0.6396 GB, free: 11.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.9299, allocations: 350.8 kB / 0.6399 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.9315, allocations: 0.5218 MB / 0.6404 GB, free: 10.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.9336, allocations: 0.7344 MB / 0.6412 GB, free: 9.359 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.9357, allocations: 0.6432 MB / 0.6418 GB, free: 8.719 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.9357, allocations: 4 kB / 0.6418 GB, free: 8.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005953/0.9417, allocations: 1.745 MB / 0.6435 GB, free: 6.953 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.9418, allocations: 4 kB / 0.6435 GB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.9418, allocations: 8 kB / 0.6435 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.9439, allocations: 412.5 kB / 0.6439 GB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.946, allocations: 231.6 kB / 0.6441 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.9585, allocations: 5.766 MB / 0.6497 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.9601, allocations: 67.92 kB / 0.6498 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.9604, allocations: 48.05 kB / 0.6499 GB, free: 140 kB / 442.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.001086/0.9615, allocations: 361.5 kB / 0.6502 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.9618, allocations: 79.05 kB / 0.6503 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005867/0.9677, allocations: 1.783 MB / 0.652 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.9678, allocations: 12 kB / 0.652 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.9678, allocations: 4 kB / 0.652 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-05/0.9678, allocations: 15.97 kB / 0.652 GB, free: 13.86 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 postOpt removeSimpleEquations (simulation): time 0.01139/0.9792, allocations: 3.427 MB / 0.6554 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.9793, allocations: 4 kB / 0.6554 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.981, allocations: 195.6 kB / 0.6556 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001907/0.9829, allocations: 346.2 kB / 0.6559 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002794/0.9833, allocations: 27.98 kB / 0.6559 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.995, allocations: 5.469 MB / 0.6613 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.9951, allocations: 7.938 kB / 0.6613 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/1.001, allocations: 1.961 MB / 0.6632 GB, free: 1.859 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/1.001, allocations: 164.1 kB / 0.6634 GB, free: 1.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/1.001, allocations: 20 kB / 0.6634 GB, free: 1.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.003, allocations: 51.89 kB / 0.6634 GB, free: 1.609 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/1.003, allocations: 96.77 kB / 0.6635 GB, free: 1.516 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.003, allocations: 36 kB / 0.6636 GB, free: 1.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006562/1.004, allocations: 319.1 kB / 0.6639 GB, free: 1.168 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.004, allocations: 0 / 0.6639 GB, free: 1.168 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002263/1.006, allocations: 419.9 kB / 0.6643 GB, free: 0.7578 MB / 458.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.006716/1.013, allocations: 3.565 MB / 0.6677 GB, free: 13.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005174/1.018, allocations: 1.71 MB / 0.6694 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.018, allocations: 128 / 0.6694 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.021, allocations: 1.065 MB / 0.6705 GB, free: 10.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.022, allocations: 99.44 kB / 0.6705 GB, free: 10.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/1.043, allocations: 10.25 MB / 0.6806 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.044, allocations: 1.196 MB / 0.6817 GB, free: 14.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.045, allocations: 347.3 kB / 0.6821 GB, free: 14.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.223e-06/1.045, allocations: 0 / 0.6821 GB, free: 14.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.989/4.034, allocations: 21.83 MB / 0.7034 GB, free: 8.188 MB / 0.4948 GB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)