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.001057/0.001058, allocations: 179.4 kB / 8.351 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.67/1.67, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001822/0.001822, allocations: 113.5 kB / 248.1 MB, free: 40 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1978/0.1978, allocations: 37.93 MB / 330.9 MB, free: 2.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.572e-05, allocations: 8 kB / 390.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.349, allocations: 53.22 MB / 443.7 MB, free: 17.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.478, allocations: 93.85 MB / 0.5249 GB, free: 3.703 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.4783, allocations: 79.95 kB / 0.525 GB, free: 3.625 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.3725/0.8508, allocations: 51.59 MB / 0.5754 GB, free: 52.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.8509, allocations: 0 / 0.5754 GB, free: 52.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.8509, allocations: 12 kB / 0.5754 GB, free: 52.66 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.001031/0.8519, allocations: 0.6826 MB / 0.5761 GB, free: 51.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.852, allocations: 8.031 kB / 0.5761 GB, free: 51.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.8536, allocations: 127.3 kB / 0.5762 GB, free: 51.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.854, allocations: 326.5 kB / 0.5765 GB, free: 51.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.854, allocations: 46.97 kB / 0.5766 GB, free: 51.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.8541, allocations: 24 kB / 0.5766 GB, free: 51.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004259/0.8545, allocations: 290.5 kB / 0.5769 GB, free: 51.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.8551, allocations: 0.522 MB / 0.5774 GB, free: 50.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.8551, allocations: 3.938 kB / 0.5774 GB, free: 50.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.8552, allocations: 4 kB / 0.5774 GB, free: 50.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.428e-05/0.8553, allocations: 36.75 kB / 0.5774 GB, free: 50.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.8571, allocations: 2.528 MB / 0.5799 GB, free: 47.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.8576, allocations: 399.8 kB / 0.5803 GB, free: 47.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.8578, allocations: 198.6 kB / 0.5805 GB, free: 47.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.8578, allocations: 4 kB / 0.5805 GB, free: 47.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.8579, allocations: 38.5 kB / 0.5805 GB, free: 47.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.8579, allocations: 0 / 0.5805 GB, free: 47.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006631/0.8585, allocations: 406.3 kB / 0.5809 GB, free: 46.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.8586, allocations: 106.8 kB / 0.581 GB, free: 46.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.8588, allocations: 249.2 kB / 0.5812 GB, free: 46.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.8588, allocations: 25.7 kB / 0.5812 GB, free: 46.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.8589, allocations: 255.5 kB / 0.5815 GB, free: 46.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.243e-05/0.859, allocations: 114.4 kB / 0.5816 GB, free: 45.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.859, allocations: 0 / 0.5816 GB, free: 45.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.8591, allocations: 342.8 kB / 0.5819 GB, free: 45.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.8592, allocations: 116.8 kB / 0.582 GB, free: 45.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.8594, allocations: 267.1 kB / 0.5823 GB, free: 45.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.8596, allocations: 165.2 kB / 0.5824 GB, free: 45.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8596, allocations: 0 / 0.5824 GB, free: 45.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006192/0.8603, allocations: 0.5037 MB / 0.5829 GB, free: 44.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.8603, allocations: 7.953 kB / 0.5829 GB, free: 44.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.8603, allocations: 8 kB / 0.583 GB, free: 44.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/0.8606, allocations: 112.7 kB / 0.5831 GB, free: 44.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.8608, allocations: 72.28 kB / 0.5831 GB, free: 44.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.8626, allocations: 2.247 MB / 0.5853 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.8628, allocations: 31.53 kB / 0.5854 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.8629, allocations: 20 kB / 0.5854 GB, free: 41.87 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 8.943e-05/0.8629, allocations: 124.9 kB / 0.5855 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000503/0.8635, allocations: 401.8 kB / 0.5859 GB, free: 41.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.8635, allocations: 31.62 kB / 0.5859 GB, free: 41.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.784e-05/0.8636, allocations: 47.53 kB / 0.5859 GB, free: 41.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.8636, allocations: 7.984 kB / 0.586 GB, free: 41.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8636, allocations: 8.062 kB / 0.586 GB, free: 41.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8637, allocations: 0 / 0.586 GB, free: 41.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.8647, allocations: 0.852 MB / 0.5868 GB, free: 40.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8647, allocations: 4 kB / 0.5868 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.8648, allocations: 36.05 kB / 0.5868 GB, free: 40.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.865, allocations: 108.7 kB / 0.5869 GB, free: 40.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.8651, allocations: 4 kB / 0.5869 GB, free: 40.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.8668, allocations: 2.234 MB / 0.5891 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8668, allocations: 4.031 kB / 0.5891 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.8674, allocations: 0.6337 MB / 0.5897 GB, free: 37.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.8675, allocations: 116.6 kB / 0.5899 GB, free: 37.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.8676, allocations: 3.938 kB / 0.5899 GB, free: 37.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.8677, allocations: 15.95 kB / 0.5899 GB, free: 37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.8678, allocations: 19.91 kB / 0.5899 GB, free: 36.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.8678, allocations: 12 kB / 0.5899 GB, free: 36.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.868, allocations: 188.6 kB / 0.5901 GB, free: 36.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.868, allocations: 0 / 0.5901 GB, free: 36.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007057/0.8687, allocations: 143.8 kB / 0.5902 GB, free: 36.64 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.0008306/0.8696, allocations: 1.446 MB / 0.5916 GB, free: 35.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007443/0.8703, allocations: 486.8 kB / 0.5921 GB, free: 34.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8703, allocations: 0 / 0.5921 GB, free: 34.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.8707, allocations: 313.5 kB / 0.5924 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.8711, allocations: 49.14 kB / 0.5924 GB, free: 34.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.8724, allocations: 0.6968 MB / 0.5931 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.8727, allocations: 0.8817 MB / 0.594 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.8729, allocations: 71.22 kB / 0.5941 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.873, allocations: 119.4 kB / 0.5942 GB, free: 32.45 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.873, allocations: 0 / 0.5942 GB, free: 32.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.8991, allocations: 6.24 MB / 0.6003 GB, free: 26.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.8993, allocations: 138.9 kB / 0.6004 GB, free: 26.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.987, allocations: 3.938 kB / 0.6004 GB, free: 26.01 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)