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/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.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.001379/0.001379, allocations: 101.4 kB / 16.45 MB, free: 6.402 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.001186/0.001186, allocations: 189.4 kB / 17.39 MB, free: 5.668 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06318/0.06318, allocations: 8.094 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1335, allocations: 51.51 MB / 466 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004747/0.1383, allocations: 3.858 MB / 469.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.1419, allocations: 1.96 MB / 471.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.1422, allocations: 11.94 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006108/0.1428, allocations: 222.6 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008497/0.1437, allocations: 393.5 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.1462, allocations: 1.322 MB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009901/0.1472, allocations: 0.7931 MB / 474.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.1476, allocations: 245.6 kB / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.1479, allocations: 334.7 kB / 475.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005016/0.1484, allocations: 430.2 kB / 475.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1485, allocations: 64 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.1491, allocations: 303.7 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1493, allocations: 159.3 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.1496, allocations: 378 kB / 476.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.1506, allocations: 0.9346 MB / 477.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1506, allocations: 0 / 477.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1506, allocations: 0 / 477.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1507, allocations: 0 / 477.3 MB, free: 6.777 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.007667/0.1583, allocations: 2.14 MB / 479.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1584, allocations: 8.031 kB / 479.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.1586, allocations: 84 kB / 479.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.1592, allocations: 477.8 kB / 480 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.1593, allocations: 45.38 kB / 480.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1594, allocations: 64.36 kB / 480.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.1607, allocations: 0.8391 MB / 481 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1607, allocations: 192 / 481 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.1608, allocations: 35.92 kB / 481 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1608, allocations: 12 kB / 481 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.1619, allocations: 0.777 MB / 481.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.1661, allocations: 3.319 MB / 485.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.1678, allocations: 1.356 MB / 486.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007632/0.1686, allocations: 0.5843 MB / 487.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.1687, allocations: 24.97 kB / 487.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1687, allocations: 47.56 kB / 487.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.324e-06/0.1687, allocations: 0 / 487.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01398/0.1827, allocations: 3.973 MB / 491.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.1829, allocations: 119.8 kB / 491.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.1835, allocations: 429.7 kB / 491.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.1836, allocations: 49.7 kB / 491.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.1838, allocations: 237.4 kB / 491.9 MB, free: 7.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.1841, allocations: 299.5 kB / 492.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.1845, allocations: 178.6 kB / 492.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1847, allocations: 378.7 kB / 492.8 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.1854, allocations: 0.5408 MB / 493.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/0.1863, allocations: 0.6146 MB / 493.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.188, allocations: 1.209 MB / 495.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.188, allocations: 3.938 kB / 495.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006049/0.1941, allocations: 2.374 MB / 497.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.1941, allocations: 11.92 kB / 497.5 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1941, allocations: 4 kB / 497.5 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00635/0.2005, allocations: 1.765 MB / 499.3 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.2011, allocations: 147.8 kB / 499.4 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.2142, allocations: 7.356 MB / 0.4949 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009299/0.2152, allocations: 91.2 kB / 0.495 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.2153, allocations: 35.92 kB / 0.495 GB, free: 8.445 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.0004119/0.2157, allocations: 205.7 kB / 0.4952 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.2158, allocations: 71.19 kB / 0.4953 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/0.2219, allocations: 2.32 MB / 0.4976 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.2219, allocations: 12 kB / 0.4976 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2219, allocations: 3.938 kB / 0.4976 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.2219, allocations: 3.984 kB / 0.4976 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007059/0.229, allocations: 3.323 MB / 0.5008 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.229, allocations: 0 / 0.5008 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.2294, allocations: 111.9 kB / 0.5009 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005956/0.2354, allocations: 1.495 MB / 0.5024 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.2355, allocations: 19.94 kB / 0.5024 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3321/0.5676, allocations: 7.232 MB / 0.5095 GB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5676, allocations: 0 / 0.5095 GB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006589/0.5742, allocations: 2.277 MB / 0.5117 GB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.5746, allocations: 154.2 kB / 0.5119 GB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5747, allocations: 20.92 kB / 0.5119 GB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.5755, allocations: 53.52 kB / 0.5119 GB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004524/0.5759, allocations: 77.75 kB / 0.512 GB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.576, allocations: 29.03 kB / 0.512 GB, free: 42.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004268/0.5764, allocations: 295.9 kB / 0.5123 GB, free: 41.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5765, allocations: 0 / 0.5123 GB, free: 41.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001463/0.5779, allocations: 339.4 kB / 0.5126 GB, free: 41.92 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.0002894/0.5782, allocations: 150.5 kB / 0.5128 GB, free: 41.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005103/0.5833, allocations: 1.969 MB / 0.5147 GB, free: 40.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.5834, allocations: 1.438 kB / 0.5147 GB, free: 40.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00375/0.5871, allocations: 1.303 MB / 0.516 GB, free: 40.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.588, allocations: 85.36 kB / 0.5161 GB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.5911, allocations: 1.341 MB / 0.5174 GB, free: 39.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.5917, allocations: 0.9284 MB / 0.5183 GB, free: 38.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000415/0.5922, allocations: 94.58 kB / 0.5184 GB, free: 38.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.5923, allocations: 59.09 kB / 0.5184 GB, free: 38.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5923, allocations: 1.125 kB / 0.5184 GB, free: 38.91 MB / 382.1 MB Notification: Performance of Templates: time 0.03029/0.6226, allocations: 22.75 MB / 0.5406 GB, free: 22.73 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)