Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.001856/0.001856, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.708/1.708, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001817/0.001817, allocations: 120.6 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1899/0.1899, allocations: 37.9 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.01e-05/5.04e-05, allocations: 7.984 kB / 397.6 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 53.21 MB / 450.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4378/0.7354, allocations: 94.5 MB / 0.5326 GB, free: 88.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.7357, allocations: 93.86 kB / 0.5327 GB, free: 88.47 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1035/0.8392, allocations: 51.79 MB / 0.5832 GB, free: 44.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.8392, allocations: 0 / 0.5832 GB, free: 44.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.8393, allocations: 8 kB / 0.5833 GB, free: 44.3 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001376/0.8406, allocations: 0.69 MB / 0.5839 GB, free: 43.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.8407, allocations: 8.031 kB / 0.5839 GB, free: 43.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.8409, allocations: 86.5 kB / 0.584 GB, free: 43.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.8428, allocations: 127.3 kB / 0.5841 GB, free: 43.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.8435, allocations: 330.2 kB / 0.5845 GB, free: 42.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.8436, allocations: 62.64 kB / 0.5845 GB, free: 42.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.8437, allocations: 40 kB / 0.5846 GB, free: 42.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007788/0.8445, allocations: 0.5713 MB / 0.5851 GB, free: 42.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.8445, allocations: 3.938 kB / 0.5851 GB, free: 42.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.8445, allocations: 15.98 kB / 0.5851 GB, free: 42.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.136e-05/0.8446, allocations: 40.75 kB / 0.5852 GB, free: 42.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.8452, allocations: 374.7 kB / 0.5855 GB, free: 41.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.8476, allocations: 2.612 MB / 0.5881 GB, free: 39.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.8481, allocations: 423.4 kB / 0.5885 GB, free: 38.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.8484, allocations: 202.6 kB / 0.5887 GB, free: 38.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.8484, allocations: 4 kB / 0.5887 GB, free: 38.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.8484, allocations: 42.5 kB / 0.5887 GB, free: 38.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.8485, allocations: 0 / 0.5887 GB, free: 38.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007491/0.8492, allocations: 426.3 kB / 0.5891 GB, free: 37.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.8493, allocations: 106.8 kB / 0.5892 GB, free: 37.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.8495, allocations: 282.7 kB / 0.5895 GB, free: 37.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.8495, allocations: 33.7 kB / 0.5895 GB, free: 37.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.8497, allocations: 247.8 kB / 0.5898 GB, free: 37.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.8498, allocations: 126.2 kB / 0.5899 GB, free: 37.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.8498, allocations: 8 kB / 0.5899 GB, free: 37.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.8499, allocations: 350.8 kB / 0.5902 GB, free: 36.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.8501, allocations: 112.8 kB / 0.5903 GB, free: 36.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.8503, allocations: 276 kB / 0.5906 GB, free: 36.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.8505, allocations: 177.2 kB / 0.5908 GB, free: 36.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.8505, allocations: 4 kB / 0.5908 GB, free: 36.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007223/0.8513, allocations: 0.543 MB / 0.5913 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.8513, allocations: 16.06 kB / 0.5913 GB, free: 35.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8513, allocations: 11.98 kB / 0.5913 GB, free: 35.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.8516, allocations: 116.8 kB / 0.5914 GB, free: 35.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.8519, allocations: 79.84 kB / 0.5915 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.8539, allocations: 2.332 MB / 0.5938 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.8542, allocations: 43.53 kB / 0.5938 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.8542, allocations: 24 kB / 0.5939 GB, free: 32.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.8543, allocations: 136.6 kB / 0.594 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.8544, allocations: 39.52 kB / 0.594 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.8545, allocations: 52.14 kB / 0.5941 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8545, allocations: 8 kB / 0.5941 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.8545, allocations: 4 kB / 0.5941 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.8546, allocations: 3.953 kB / 0.5941 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.8556, allocations: 0.9299 MB / 0.595 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8556, allocations: 3.984 kB / 0.595 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.8558, allocations: 31.98 kB / 0.595 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.856, allocations: 108.9 kB / 0.5951 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.856, allocations: 8 kB / 0.5951 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.8579, allocations: 2.326 MB / 0.5974 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8579, allocations: 3.953 kB / 0.5974 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.8585, allocations: 0.6644 MB / 0.5981 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/0.8586, allocations: 120.7 kB / 0.5982 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.8586, allocations: 8 kB / 0.5982 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.8588, allocations: 4 kB / 0.5982 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.8589, allocations: 27.92 kB / 0.5982 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.8589, allocations: 8 kB / 0.5982 GB, free: 28.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.8591, allocations: 222.2 kB / 0.5984 GB, free: 27.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8591, allocations: 0 / 0.5984 GB, free: 27.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000601/0.8597, allocations: 159.7 kB / 0.5986 GB, free: 27.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008098/0.8605, allocations: 1.477 MB / 0.6 GB, free: 26.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006977/0.8613, allocations: 0.5073 MB / 0.6005 GB, free: 25.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8613, allocations: 0 / 0.6005 GB, free: 25.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.8617, allocations: 343.4 kB / 0.6009 GB, free: 25.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.8621, allocations: 53.7 kB / 0.6009 GB, free: 25.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.8633, allocations: 0.7179 MB / 0.6016 GB, free: 24.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.8636, allocations: 0.8903 MB / 0.6025 GB, free: 23.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.8638, allocations: 78.89 kB / 0.6026 GB, free: 23.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.8639, allocations: 115.4 kB / 0.6027 GB, free: 23.34 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.8639, allocations: 4 kB / 0.6027 GB, free: 23.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.8829, allocations: 6.932 MB / 0.6094 GB, free: 16.41 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.8831, allocations: 175.6 kB / 0.6096 GB, free: 16.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.091, allocations: 4 kB / 0.6096 GB, free: 16.18 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)