Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.001114/0.001114, allocations: 180.9 kB / 16.39 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.268/1.268, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001619/0.001619, allocations: 116.2 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.162/0.162, allocations: 37.99 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 12 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07906/0.07941, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/0.3532, allocations: 90.94 MB / 0.5352 GB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.3535, allocations: 87.75 kB / 0.5353 GB, free: 4.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1224/0.4759, allocations: 54.28 MB / 0.5883 GB, free: 5.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4759, allocations: 0 / 0.5883 GB, free: 5.379 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.186e-05/0.476, allocations: 19.94 kB / 0.5883 GB, free: 5.359 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002087/0.4781, allocations: 1.019 MB / 0.5893 GB, free: 4.289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4781, allocations: 12.02 kB / 0.5893 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.4784, allocations: 127 kB / 0.5894 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/0.4817, allocations: 398.5 kB / 0.5898 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.4827, allocations: 487.5 kB / 0.5903 GB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.4828, allocations: 49.98 kB / 0.5903 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.4829, allocations: 79.98 kB / 0.5904 GB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.4848, allocations: 1.152 MB / 0.5915 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.4848, allocations: 0 / 0.5915 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.4849, allocations: 35.92 kB / 0.5916 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002646/0.4852, allocations: 97.91 kB / 0.5917 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.4871, allocations: 1.194 MB / 0.5928 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00559/0.4927, allocations: 3.519 MB / 0.5963 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.4943, allocations: 1.054 MB / 0.5973 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.628e-05/0.4943, allocations: 24.92 kB / 0.5973 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.4944, allocations: 43.56 kB / 0.5974 GB, free: 11.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.174e-06/0.4944, allocations: 0 / 0.5974 GB, free: 11.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.006177/0.5006, allocations: 3.057 MB / 0.6003 GB, free: 8.754 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.5006, allocations: 90.23 kB / 0.6004 GB, free: 8.648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.501, allocations: 316.8 kB / 0.6007 GB, free: 8.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.501, allocations: 41.7 kB / 0.6008 GB, free: 8.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.5012, allocations: 312.2 kB / 0.6011 GB, free: 7.977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.5015, allocations: 319.3 kB / 0.6014 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.5015, allocations: 16 kB / 0.6014 GB, free: 7.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5017, allocations: 370.7 kB / 0.6017 GB, free: 7.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/0.5023, allocations: 441.7 kB / 0.6022 GB, free: 6.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006965/0.503, allocations: 0.5384 MB / 0.6027 GB, free: 6.273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/0.5037, allocations: 0.5144 MB / 0.6032 GB, free: 5.762 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5038, allocations: 4 kB / 0.6032 GB, free: 5.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00283/0.5066, allocations: 1.408 MB / 0.6046 GB, free: 4.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.5066, allocations: 11.98 kB / 0.6046 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.5067, allocations: 0 / 0.6046 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.5078, allocations: 339.1 kB / 0.6049 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/0.5088, allocations: 187.7 kB / 0.6051 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005928/0.5147, allocations: 4.001 MB / 0.609 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/0.5153, allocations: 63.92 kB / 0.6091 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.5154, allocations: 31.98 kB / 0.6091 GB, free: 15.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004881/0.5159, allocations: 297.5 kB / 0.6094 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.516, allocations: 59.3 kB / 0.6094 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.5186, allocations: 1.528 MB / 0.6109 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5186, allocations: 12 kB / 0.6109 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5186, allocations: 4 kB / 0.6109 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.5186, allocations: 7.969 kB / 0.6109 GB, free: 13.63 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 postOpt removeSimpleEquations (simulation): time 0.005498/0.5241, allocations: 3.005 MB / 0.6139 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.5242, allocations: 8.016 kB / 0.6139 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/0.525, allocations: 175.7 kB / 0.614 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008325/0.5259, allocations: 288.9 kB / 0.6143 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.5259, allocations: 20 kB / 0.6143 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004833/0.5308, allocations: 3.69 MB / 0.6179 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.5308, allocations: 19.83 kB / 0.618 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.5334, allocations: 1.726 MB / 0.6197 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.5336, allocations: 144.4 kB / 0.6198 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-05/0.5337, allocations: 27.98 kB / 0.6198 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.5342, allocations: 43.95 kB / 0.6199 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5343, allocations: 84.78 kB / 0.6199 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.5344, allocations: 28 kB / 0.62 GB, free: 3.941 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002894/0.5347, allocations: 259.1 kB / 0.6202 GB, free: 3.688 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5347, allocations: 0 / 0.6202 GB, free: 3.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009771/0.5357, allocations: 320 kB / 0.6205 GB, free: 3.375 MB / 426.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 (82): * Single equations (assignments): 80 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003109/0.5388, allocations: 3.326 MB / 0.6238 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.5408, allocations: 1.339 MB / 0.6251 GB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5409, allocations: 4.125 kB / 0.6251 GB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.542, allocations: 0.8357 MB / 0.6259 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.5425, allocations: 82.39 kB / 0.626 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.5503, allocations: 6.489 MB / 0.6323 GB, free: 6.988 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000997/0.5513, allocations: 1.089 MB / 0.6334 GB, free: 5.875 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005415/0.5519, allocations: 188.6 kB / 0.6336 GB, free: 5.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/0.5524, allocations: 251.3 kB / 0.6338 GB, free: 5.441 MB / 442.7 MB Notification: Performance of SimCode: time 2.425e-06/0.5524, allocations: 0 / 0.6338 GB, free: 5.441 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06346/0.6158, allocations: 14.88 MB / 0.6483 GB, free: 6.562 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.6161, allocations: 197 kB / 0.6485 GB, free: 6.324 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.905, allocations: 0 / 0.6485 GB, free: 6.324 MB / 458.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)