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.001791/0.001791, allocations: 179.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.2+maint.om/package.mo): time 1.353/1.353, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001657/0.001657, allocations: 118.3 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1647/0.1647, allocations: 38.01 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003629, allocations: 8 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.08575, allocations: 53.24 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.303/0.3888, allocations: 94.59 MB / 0.5388 GB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.3891, allocations: 85.08 kB / 0.5389 GB, free: 1.414 MB / 346.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.1064/0.4955, allocations: 52.11 MB / 0.5898 GB, free: 3.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4955, allocations: 0 / 0.5898 GB, free: 3.566 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.4955, allocations: 8 kB / 0.5898 GB, free: 3.559 MB / 394.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.001125/0.4967, allocations: 0.7294 MB / 0.5905 GB, free: 2.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4967, allocations: 16.02 kB / 0.5905 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.64e-05/0.4968, allocations: 78.47 kB / 0.5906 GB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.4982, allocations: 135.3 kB / 0.5907 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.4988, allocations: 322.3 kB / 0.591 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.4989, allocations: 62.64 kB / 0.5911 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.4989, allocations: 39.98 kB / 0.5911 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.4997, allocations: 0.5749 MB / 0.5917 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.4998, allocations: 7.938 kB / 0.5917 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.4998, allocations: 23.92 kB / 0.5917 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.435e-05/0.4999, allocations: 40.62 kB / 0.5917 GB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005455/0.5005, allocations: 382.1 kB / 0.5921 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.503, allocations: 2.615 MB / 0.5946 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.5036, allocations: 420 kB / 0.595 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.5037, allocations: 8.047 kB / 0.5951 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5037, allocations: 38.56 kB / 0.5951 GB, free: 13.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.484e-06/0.5037, allocations: 0 / 0.5951 GB, free: 13.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001654/0.5054, allocations: 0.7608 MB / 0.5958 GB, free: 12.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.5055, allocations: 114.7 kB / 0.5959 GB, free: 12.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.5058, allocations: 275.8 kB / 0.5962 GB, free: 12.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.5058, allocations: 41.86 kB / 0.5962 GB, free: 12.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.506, allocations: 247.7 kB / 0.5965 GB, free: 12.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.67e-05/0.5061, allocations: 114.3 kB / 0.5966 GB, free: 12.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.5061, allocations: 4 kB / 0.5966 GB, free: 12.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5062, allocations: 350.8 kB / 0.5969 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.5064, allocations: 124.8 kB / 0.597 GB, free: 11.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.5068, allocations: 278.2 kB / 0.5973 GB, free: 11.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.507, allocations: 185.2 kB / 0.5975 GB, free: 11.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5071, allocations: 4 kB / 0.5975 GB, free: 11.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008087/0.5079, allocations: 0.5503 MB / 0.598 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5079, allocations: 8 kB / 0.598 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5079, allocations: 4.594 kB / 0.598 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.5083, allocations: 128.7 kB / 0.5982 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.5085, allocations: 67.91 kB / 0.5982 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.5112, allocations: 2.385 MB / 0.6006 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.5115, allocations: 51.39 kB / 0.6006 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.5115, allocations: 20 kB / 0.6006 GB, free: 7.777 MB / 410.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 () * Number of clocked 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.0002422/0.5118, allocations: 193.7 kB / 0.6008 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.5119, allocations: 31.62 kB / 0.6008 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.512, allocations: 51.95 kB / 0.6009 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.512, allocations: 7.938 kB / 0.6009 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.512, allocations: 4 kB / 0.6009 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.512, allocations: 8.047 kB / 0.6009 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.5133, allocations: 0.9338 MB / 0.6018 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5133, allocations: 7.953 kB / 0.6018 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.5134, allocations: 35.98 kB / 0.6019 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000255/0.5137, allocations: 112.2 kB / 0.602 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.5137, allocations: 11.98 kB / 0.602 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.5161, allocations: 2.369 MB / 0.6043 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5161, allocations: 0 / 0.6043 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.5169, allocations: 0.6692 MB / 0.6049 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.517, allocations: 120.7 kB / 0.6051 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.517, allocations: 4 kB / 0.6051 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.5172, allocations: 12 kB / 0.6051 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.5173, allocations: 27.92 kB / 0.6051 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.5173, allocations: 7.938 kB / 0.6051 GB, free: 2.891 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.5175, allocations: 223 kB / 0.6053 GB, free: 2.676 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5175, allocations: 0 / 0.6053 GB, free: 2.676 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000638/0.5182, allocations: 163.7 kB / 0.6055 GB, free: 2.516 MB / 410.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 () * Number of clocked 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.001234/0.5194, allocations: 1.486 MB / 0.6069 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009152/0.5203, allocations: 0.5115 MB / 0.6074 GB, free: 460 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5203, allocations: 0 / 0.6074 GB, free: 460 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.5208, allocations: 342.5 kB / 0.6078 GB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.5212, allocations: 58.12 kB / 0.6078 GB, free: 48 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.5255, allocations: 5.608 MB / 0.6133 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.526, allocations: 0.8902 MB / 0.6142 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.5262, allocations: 70.91 kB / 0.6142 GB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.5264, allocations: 115.4 kB / 0.6143 GB, free: 9.18 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5264, allocations: 4 kB / 0.6143 GB, free: 9.176 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.546, allocations: 6.906 MB / 0.6211 GB, free: 2.281 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.5462, allocations: 207.8 kB / 0.6213 GB, free: 2.031 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.59, allocations: 4 kB / 0.6213 GB, free: 2.027 MB / 426.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)