Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00092/0.0009201, allocations: 177.9 kB / 8.043 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.5 MB / 230 MB, free: 3.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 96.78 kB / 280.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05246/0.05246, allocations: 8.096 MB / 339.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.574e-05, allocations: 4 kB / 398.5 MB, free: 67.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 52.52 MB / 451 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.4653, allocations: 81.04 MB / 0.5196 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.4655, allocations: 74.38 kB / 0.5196 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08746/0.553, allocations: 35.61 MB / 0.5544 GB, free: 288 kB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.5531, allocations: 8 kB / 0.5544 GB, free: 280 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.733e-05/0.5532, allocations: 16 kB / 0.5544 GB, free: 264 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.007666/0.5608, allocations: 1.906 MB / 0.5563 GB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.5609, allocations: 15.98 kB / 0.5563 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.5617, allocations: 138.5 kB / 0.5564 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.5636, allocations: 0.8074 MB / 0.5572 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.5637, allocations: 31.94 kB / 0.5573 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.564, allocations: 48 kB / 0.5573 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002701/0.5667, allocations: 1.406 MB / 0.5587 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.5692, allocations: 1.373 MB / 0.56 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.5693, allocations: 4.422 kB / 0.56 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.5694, allocations: 4 kB / 0.56 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.5694, allocations: 20 kB / 0.56 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009992/0.5794, allocations: 6.343 MB / 0.5662 GB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/0.583, allocations: 3.66 MB / 0.5698 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.5848, allocations: 1.034 MB / 0.5708 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.5851, allocations: 114.3 kB / 0.5709 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/0.5852, allocations: 60.11 kB / 0.571 GB, free: 14.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 3.777e-06/0.5852, allocations: 0 / 0.571 GB, free: 14.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.01098/0.5962, allocations: 3.576 MB / 0.5745 GB, free: 10.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.5963, allocations: 124 kB / 0.5746 GB, free: 10.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.5974, allocations: 0.5897 MB / 0.5752 GB, free: 9.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.5976, allocations: 25.7 kB / 0.5752 GB, free: 9.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.5979, allocations: 365.8 kB / 0.5756 GB, free: 9.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/0.5984, allocations: 492.5 kB / 0.576 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.5985, allocations: 0 / 0.576 GB, free: 9.109 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5987, allocations: 353.9 kB / 0.5764 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.5998, allocations: 0.776 MB / 0.5771 GB, free: 7.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.6011, allocations: 0.8655 MB / 0.578 GB, free: 7.105 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/0.6032, allocations: 0.9161 MB / 0.5789 GB, free: 6.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6033, allocations: 0 / 0.5789 GB, free: 6.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.01042/0.6137, allocations: 3.65 MB / 0.5824 GB, free: 2.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.6137, allocations: 4 kB / 0.5824 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6138, allocations: 0 / 0.5824 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009906/0.6237, allocations: 2.369 MB / 0.5847 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.6244, allocations: 151.8 kB / 0.5849 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/0.6466, allocations: 11.38 MB / 0.596 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.6482, allocations: 75.03 kB / 0.5961 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003277/0.6486, allocations: 47.98 kB / 0.5961 GB, free: 4.375 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feeder1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder1.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder2.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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: 0 * Non-linear torn systems: 1 {20 48} Notification: Performance of prepare postOptimizeDAE: time 0.0006247/0.6492, allocations: 126.3 kB / 0.5962 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/0.6497, allocations: 110.7 kB / 0.5963 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/0.6618, allocations: 3.977 MB / 0.6002 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.6619, allocations: 20 kB / 0.6002 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6619, allocations: 0 / 0.6002 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.6619, allocations: 7.969 kB / 0.6003 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.6767, allocations: 6.116 MB / 0.6062 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6767, allocations: 4 kB / 0.6062 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/0.6774, allocations: 179.7 kB / 0.6064 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01005/0.6875, allocations: 2.357 MB / 0.6087 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003072/0.6878, allocations: 19.91 kB / 0.6087 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02339/0.7113, allocations: 11.34 MB / 0.6198 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.7113, allocations: 3.984 kB / 0.6198 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/0.7263, allocations: 3.843 MB / 0.6235 GB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006899/0.727, allocations: 219.4 kB / 0.6238 GB, free: 7.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005848/0.7276, allocations: 4 kB / 0.6238 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/0.7298, allocations: 67.94 kB / 0.6238 GB, free: 7.758 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/0.7306, allocations: 130.4 kB / 0.624 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003241/0.7309, allocations: 47.98 kB / 0.624 GB, free: 7.582 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001176/0.7321, allocations: 463.2 kB / 0.6244 GB, free: 7.133 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7321, allocations: 0 / 0.6244 GB, free: 7.133 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003248/0.7354, allocations: 495.5 kB / 0.6249 GB, free: 6.648 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 48} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005731/0.736, allocations: 133.4 kB / 0.625 GB, free: 6.512 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009721/0.7457, allocations: 2.742 MB / 0.6277 GB, free: 3.754 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.7458, allocations: 0.7812 kB / 0.6277 GB, free: 3.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007141/0.7529, allocations: 1.864 MB / 0.6295 GB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.7543, allocations: 93.66 kB / 0.6296 GB, free: 1.789 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.7586, allocations: 1.588 MB / 0.6312 GB, free: 180 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009923/0.7596, allocations: 1.105 MB / 0.6323 GB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009365/0.7606, allocations: 143.7 kB / 0.6324 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.761, allocations: 91.33 kB / 0.6325 GB, free: 14.8 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/0.761, allocations: 0 / 0.6325 GB, free: 14.8 MB / 458.7 MB Notification: Performance of Templates: time 0.3169/1.078, allocations: 35.64 MB / 0.6673 GB, free: 136.1 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)