Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001319/0.001319, allocations: 179.6 kB / 8.352 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.73/1.73, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001679/0.001679, allocations: 118.8 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1772/0.1772, allocations: 37.93 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.023e-05, allocations: 4 kB / 390.5 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3367, allocations: 53.22 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.4685, allocations: 93.73 MB / 0.5248 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4689, allocations: 83.95 kB / 0.5249 GB, free: 3.719 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4031/0.8719, allocations: 58.75 MB / 0.5823 GB, free: 45.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.872, allocations: 0 / 0.5823 GB, free: 45.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.022e-05/0.8721, allocations: 20 kB / 0.5823 GB, free: 45.87 MB / 378.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.002384/0.8745, allocations: 1.128 MB / 0.5834 GB, free: 44.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.8745, allocations: 12.03 kB / 0.5834 GB, free: 44.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.8785, allocations: 0.4981 MB / 0.5839 GB, free: 44.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000963/0.8795, allocations: 0.5553 MB / 0.5844 GB, free: 43.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.8795, allocations: 28 kB / 0.5845 GB, free: 43.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.8797, allocations: 51.98 kB / 0.5845 GB, free: 43.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001706/0.8814, allocations: 1.175 MB / 0.5857 GB, free: 42.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.8834, allocations: 1.329 MB / 0.587 GB, free: 40.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.8834, allocations: 0 / 0.587 GB, free: 40.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.061e-05/0.8835, allocations: 4 kB / 0.587 GB, free: 40.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003903/0.8839, allocations: 137.9 kB / 0.5871 GB, free: 40.82 MB / 378.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 preOpt removeSimpleEquations (simulation): time 0.006171/0.8901, allocations: 4.67 MB / 0.5917 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.8914, allocations: 1.1 MB / 0.5927 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.8921, allocations: 0.7116 MB / 0.5934 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.848e-05/0.8922, allocations: 17.38 kB / 0.5934 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.8922, allocations: 55.81 kB / 0.5935 GB, free: 34.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.607e-06/0.8923, allocations: 0 / 0.5935 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.003286/0.8955, allocations: 2.263 MB / 0.5957 GB, free: 31.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.8956, allocations: 90.42 kB / 0.5958 GB, free: 31.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.896, allocations: 389.1 kB / 0.5962 GB, free: 31.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.8961, allocations: 25.7 kB / 0.5962 GB, free: 31.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.8963, allocations: 427.4 kB / 0.5966 GB, free: 30.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.8965, allocations: 358.7 kB / 0.5969 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.8966, allocations: 0 / 0.5969 GB, free: 30.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8967, allocations: 382.8 kB / 0.5973 GB, free: 30.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.8973, allocations: 498.4 kB / 0.5978 GB, free: 29.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.8979, allocations: 0.6971 MB / 0.5985 GB, free: 28.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.8986, allocations: 0.6152 MB / 0.5991 GB, free: 28.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8987, allocations: 0 / 0.5991 GB, free: 28.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002231/0.9009, allocations: 1.646 MB / 0.6007 GB, free: 26.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.9009, allocations: 8 kB / 0.6007 GB, free: 26.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.9009, allocations: 8 kB / 0.6007 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009537/0.9019, allocations: 380.2 kB / 0.601 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/0.9028, allocations: 231.7 kB / 0.6013 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004985/0.9078, allocations: 5.414 MB / 0.6066 GB, free: 20.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/0.9085, allocations: 51.83 kB / 0.6066 GB, free: 20.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.9086, allocations: 52.05 kB / 0.6067 GB, free: 20.15 MB / 378.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 () * 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.0001837/0.9088, allocations: 128.7 kB / 0.6068 GB, free: 20.02 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002013/0.9108, allocations: 1.466 MB / 0.6082 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.9109, allocations: 79.03 kB / 0.6083 GB, free: 18.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.9133, allocations: 1.67 MB / 0.6099 GB, free: 16.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.9133, allocations: 16 kB / 0.6099 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9134, allocations: 4 kB / 0.6099 GB, free: 16.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.9134, allocations: 7.984 kB / 0.6099 GB, free: 16.75 MB / 378.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.004345/0.9177, allocations: 3.171 MB / 0.613 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.9177, allocations: 7.953 kB / 0.613 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.9184, allocations: 188.2 kB / 0.6132 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007966/0.9192, allocations: 345.6 kB / 0.6136 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.9193, allocations: 8 kB / 0.6136 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004693/0.924, allocations: 5.135 MB / 0.6186 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.924, allocations: 15.89 kB / 0.6186 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.9267, allocations: 1.865 MB / 0.6204 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.927, allocations: 156.1 kB / 0.6206 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.9271, allocations: 8 kB / 0.6206 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.9277, allocations: 35.94 kB / 0.6206 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.9279, allocations: 89.09 kB / 0.6207 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.9279, allocations: 35.98 kB / 0.6207 GB, free: 5.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003461/0.9283, allocations: 294.9 kB / 0.621 GB, free: 4.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9283, allocations: 0 / 0.621 GB, free: 4.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001274/0.9296, allocations: 363.9 kB / 0.6213 GB, free: 4.508 MB / 378.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 (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.002757/0.9324, allocations: 3.469 MB / 0.6247 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002395/0.9348, allocations: 1.603 MB / 0.6263 GB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.9348, allocations: 0 / 0.6263 GB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.9363, allocations: 0.9971 MB / 0.6273 GB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.937, allocations: 91.48 kB / 0.6274 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.9408, allocations: 1.947 MB / 0.6293 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.9417, allocations: 1.196 MB / 0.6304 GB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005985/0.9423, allocations: 233.3 kB / 0.6307 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/0.9428, allocations: 339.3 kB / 0.631 GB, free: 10.35 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.9428, allocations: 0 / 0.631 GB, free: 10.35 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0451/0.9879, allocations: 18.05 MB / 0.6486 GB, free: 8.273 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/0.9883, allocations: 141.3 kB / 0.6487 GB, free: 8.082 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.323, allocations: 0 / 0.6487 GB, free: 8.082 MB / 410.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)