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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 105.4 kB / 16.45 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 188.1 kB / 17.38 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0581/0.0581, allocations: 8.105 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1175, allocations: 51.52 MB / 466 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.007414/0.1249, allocations: 6.122 MB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004355/0.1293, allocations: 2.439 MB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009079/0.1303, allocations: 16 kB / 474.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.1313, allocations: 345.7 kB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.1333, allocations: 0.6405 MB / 475.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.1363, allocations: 1.497 MB / 477.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.1384, allocations: 1.455 MB / 478.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/0.1393, allocations: 0.5326 MB / 479 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008758/0.1402, allocations: 0.5878 MB / 479.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.1415, allocations: 0.7548 MB / 480.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003959/0.1419, allocations: 148 kB / 480.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.1431, allocations: 391.7 kB / 480.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006043/0.1437, allocations: 303 kB / 481.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.1454, allocations: 0.6998 MB / 481.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.148, allocations: 1.815 MB / 483.7 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.148, allocations: 0 / 483.7 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.148, allocations: 7.984 kB / 483.7 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.306e-05/0.1481, allocations: 0 / 483.7 MB, free: 344 kB / 350.1 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.01321/0.1613, allocations: 3.225 MB / 487 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1613, allocations: 11.97 kB / 487 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004498/0.1618, allocations: 139.4 kB / 487.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.1631, allocations: 0.7692 MB / 487.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.1632, allocations: 74.38 kB / 487.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.1634, allocations: 104.4 kB / 488.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.1659, allocations: 1.518 MB / 489.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1659, allocations: 192 / 489.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.1661, allocations: 47.94 kB / 489.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.1661, allocations: 20 kB / 489.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.1684, allocations: 1.476 MB / 491.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007535/0.1759, allocations: 5.983 MB / 497.1 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.1793, allocations: 3.765 MB / 0.4891 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.1808, allocations: 1.102 MB / 0.4902 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.181, allocations: 41.25 kB / 0.4902 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.181, allocations: 52.11 kB / 0.4903 GB, free: 13.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=151): time 3.366e-06/0.1811, allocations: 0 / 0.4903 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=151): time 0.03314/0.2142, allocations: 8.278 MB / 0.4984 GB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.2143, allocations: 128.1 kB / 0.4985 GB, free: 4.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.2156, allocations: 0.6682 MB / 0.4991 GB, free: 3.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004588/0.216, allocations: 61.7 kB / 0.4992 GB, free: 3.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/0.2165, allocations: 342.4 kB / 0.4995 GB, free: 3.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007596/0.2173, allocations: 0.5043 MB / 0.5 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009064/0.2183, allocations: 283.5 kB / 0.5003 GB, free: 2.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.2185, allocations: 349.9 kB / 0.5006 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.2201, allocations: 0.9568 MB / 0.5016 GB, free: 1.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.2218, allocations: 1.086 MB / 0.5026 GB, free: 312 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2647/0.4865, allocations: 2.162 MB / 0.5047 GB, free: 44.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.4866, allocations: 1.672 kB / 0.5047 GB, free: 44.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01085/0.4974, allocations: 4.116 MB / 0.5088 GB, free: 42.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.4975, allocations: 5.344 kB / 0.5088 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.4975, allocations: 3.938 kB / 0.5088 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01255/0.51, allocations: 4.201 MB / 0.5129 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.5113, allocations: 235 kB / 0.5131 GB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02281/0.5341, allocations: 13.1 MB / 0.5259 GB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.5353, allocations: 151.3 kB / 0.526 GB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5354, allocations: 49.45 kB / 0.5261 GB, free: 34.58 MB / 382.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0004826/0.5359, allocations: 307.5 kB / 0.5264 GB, free: 34.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.5361, allocations: 108.2 kB / 0.5265 GB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008754/0.5448, allocations: 4.075 MB / 0.5305 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5449, allocations: 20 kB / 0.5305 GB, free: 31.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5449, allocations: 0 / 0.5305 GB, free: 31.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.5449, allocations: 6.281 kB / 0.5305 GB, free: 31.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.5551, allocations: 5.995 MB / 0.5363 GB, free: 26.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.5551, allocations: 0 / 0.5363 GB, free: 26.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.5557, allocations: 179.7 kB / 0.5365 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008853/0.5645, allocations: 2.887 MB / 0.5393 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.5647, allocations: 35.92 kB / 0.5394 GB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.5829, allocations: 12.9 MB / 0.552 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.583, allocations: 3.984 kB / 0.552 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008776/0.5918, allocations: 3.941 MB / 0.5558 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.5921, allocations: 207.3 kB / 0.556 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.5923, allocations: 31.94 kB / 0.556 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009703/0.5932, allocations: 94.66 kB / 0.5561 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/0.5936, allocations: 130.3 kB / 0.5563 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.5938, allocations: 51.98 kB / 0.5563 GB, free: 5.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005109/0.5943, allocations: 459 kB / 0.5567 GB, free: 5.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5943, allocations: 0 / 0.5567 GB, free: 5.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001517/0.5958, allocations: 0.5543 MB / 0.5573 GB, free: 4.547 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002838/0.5961, allocations: 151.8 kB / 0.5574 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006486/0.6026, allocations: 3.453 MB / 0.5608 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.6026, allocations: 4.656 kB / 0.5608 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005256/0.6079, allocations: 2.259 MB / 0.563 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.6088, allocations: 146.9 kB / 0.5632 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.6132, allocations: 2.396 MB / 0.5655 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.6139, allocations: 1.099 MB / 0.5666 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005039/0.6144, allocations: 147.7 kB / 0.5667 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.6146, allocations: 87.41 kB / 0.5668 GB, free: 10.76 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6147, allocations: 0 / 0.5668 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Templates: time 0.05752/0.6722, allocations: 40.96 MB / 0.6068 GB, free: 1.941 MB / 430.1 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)