Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 117 kB / 17.13 MB, free: 5.914 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.002074/0.002074, allocations: 194.3 kB / 18.06 MB, free: 4.996 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.447/1.447, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0463/0.0463, allocations: 8.092 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08008/0.08131, allocations: 51.53 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004338/0.08568, allocations: 3.85 MB / 470.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.08885, allocations: 1.96 MB / 472.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.08958, allocations: 12 kB / 472.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.09048, allocations: 226.5 kB / 472.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.0918, allocations: 381.5 kB / 473.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.09438, allocations: 1.318 MB / 474.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.09561, allocations: 0.8008 MB / 475.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.09607, allocations: 249.5 kB / 475.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005098/0.09659, allocations: 342.6 kB / 475.8 MB, free: 9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006809/0.09728, allocations: 426.2 kB / 476.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.09747, allocations: 60 kB / 476.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.09817, allocations: 303.7 kB / 476.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.09834, allocations: 159.4 kB / 476.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.09879, allocations: 382 kB / 477.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.1001, allocations: 0.9306 MB / 478 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1001, allocations: 4 kB / 478 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1001, allocations: 0 / 478 MB, free: 6.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.739e-05/0.1001, allocations: 4 kB / 478 MB, free: 6.754 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008543/0.1087, allocations: 2.132 MB / 480.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1087, allocations: 15.89 kB / 480.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.109, allocations: 80 kB / 480.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/0.1097, allocations: 485.7 kB / 480.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.1098, allocations: 45.38 kB / 480.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1099, allocations: 56.38 kB / 480.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1113, allocations: 0.8353 MB / 481.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1114, allocations: 8.125 kB / 481.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.1114, allocations: 27.94 kB / 481.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.1115, allocations: 12 kB / 481.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.1127, allocations: 0.777 MB / 482.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004728/0.1175, allocations: 3.319 MB / 485.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.1193, allocations: 1.36 MB / 487.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.1201, allocations: 0.5882 MB / 487.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.1202, allocations: 28.97 kB / 487.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1203, allocations: 43.56 kB / 487.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.685e-06/0.1203, allocations: 0 / 487.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01544/0.1357, allocations: 3.961 MB / 491.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.1358, allocations: 111.8 kB / 491.9 MB, free: 8.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.1365, allocations: 445.7 kB / 492.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.1366, allocations: 45.7 kB / 492.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1368, allocations: 241.4 kB / 492.6 MB, free: 7.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.1371, allocations: 299.5 kB / 492.9 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.1374, allocations: 182.6 kB / 493.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1376, allocations: 374.8 kB / 493.5 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008134/0.1384, allocations: 0.5408 MB / 494 MB, free: 6.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/0.1393, allocations: 0.6224 MB / 494.6 MB, free: 5.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.1411, allocations: 1.205 MB / 495.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1411, allocations: 0 / 495.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006421/0.1475, allocations: 2.378 MB / 498.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1475, allocations: 4 kB / 498.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1476, allocations: 4 kB / 498.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006713/0.1543, allocations: 1.769 MB / 500 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.1549, allocations: 147.8 kB / 0.4884 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/0.1689, allocations: 7.359 MB / 0.4956 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007942/0.1698, allocations: 91.2 kB / 0.4957 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.1699, allocations: 35.98 kB / 0.4957 GB, free: 8.422 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003707/0.1703, allocations: 201.7 kB / 0.4959 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.1705, allocations: 67.19 kB / 0.496 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006562/0.177, allocations: 2.323 MB / 0.4982 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.1771, allocations: 8 kB / 0.4982 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1771, allocations: 7.922 kB / 0.4982 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.1771, allocations: 11.97 kB / 0.4983 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.1846, allocations: 3.315 MB / 0.5015 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.1847, allocations: 0 / 0.5015 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.1851, allocations: 107.8 kB / 0.5016 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006403/0.1915, allocations: 1.503 MB / 0.5031 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.1916, allocations: 23.92 kB / 0.5031 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2083/0.4, allocations: 7.224 MB / 0.5101 GB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4, allocations: 0 / 0.5101 GB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006179/0.4062, allocations: 2.278 MB / 0.5124 GB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.4064, allocations: 155.8 kB / 0.5125 GB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.4065, allocations: 15.22 kB / 0.5125 GB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.4072, allocations: 56.41 kB / 0.5126 GB, free: 42.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/0.4075, allocations: 73.59 kB / 0.5127 GB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/0.4076, allocations: 30.22 kB / 0.5127 GB, free: 42.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003671/0.408, allocations: 295.6 kB / 0.513 GB, free: 41.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.408, allocations: 0 / 0.513 GB, free: 41.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001043/0.409, allocations: 339.7 kB / 0.5133 GB, free: 41.86 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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002537/0.4093, allocations: 160.5 kB / 0.5134 GB, free: 41.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004842/0.4142, allocations: 1.96 MB / 0.5154 GB, free: 40.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.4142, allocations: 1.312 kB / 0.5154 GB, free: 40.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003286/0.4175, allocations: 1.308 MB / 0.5166 GB, free: 40.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.4182, allocations: 80.45 kB / 0.5167 GB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.4205, allocations: 1.387 MB / 0.5181 GB, free: 39.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4209, allocations: 0.9212 MB / 0.519 GB, free: 38.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.4211, allocations: 62.55 kB / 0.519 GB, free: 38.84 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4211, allocations: 0 / 0.519 GB, free: 38.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01963/0.4407, allocations: 14.25 MB / 0.5329 GB, free: 31.25 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)