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.001106/0.001106, allocations: 103.5 kB / 17.07 MB, free: 5.68 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.001032/0.001032, allocations: 196 kB / 18.01 MB, free: 5.02 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04652/0.04652, allocations: 8.104 MB / 300 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 363.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2148, allocations: 51.52 MB / 414.7 MB, free: 25.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003628/0.2185, allocations: 3.85 MB / 418.5 MB, free: 21.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.2207, allocations: 1.952 MB / 420.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.2209, allocations: 12 kB / 420.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.2214, allocations: 226.5 kB / 420.7 MB, free: 19.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006181/0.222, allocations: 389.5 kB / 421.1 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.2237, allocations: 1.322 MB / 422.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.2243, allocations: 0.7814 MB / 423.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.2246, allocations: 259.3 kB / 423.5 MB, free: 16.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.2248, allocations: 338.7 kB / 423.8 MB, free: 16.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.2252, allocations: 434.2 kB / 424.2 MB, free: 16.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.2253, allocations: 60 kB / 424.3 MB, free: 16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.2257, allocations: 299.8 kB / 424.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.225e-05/0.2258, allocations: 151.4 kB / 424.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.2261, allocations: 382 kB / 425.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006806/0.2268, allocations: 0.9345 MB / 426 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2268, allocations: 0 / 426 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2268, allocations: 8 kB / 426 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2268, allocations: 0 / 426 MB, free: 14.23 MB / 302.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.007167/0.234, allocations: 2.129 MB / 428.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.234, allocations: 19.83 kB / 428.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.2342, allocations: 76.09 kB / 428.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.2348, allocations: 485.7 kB / 428.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.2348, allocations: 45.38 kB / 428.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-05/0.2349, allocations: 60.38 kB / 428.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.2359, allocations: 0.8353 MB / 429.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2359, allocations: 4.188 kB / 429.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.236, allocations: 23.94 kB / 429.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.236, allocations: 12 kB / 429.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000936/0.237, allocations: 0.7887 MB / 430.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.2404, allocations: 3.319 MB / 433.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.2418, allocations: 1.356 MB / 435.2 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/0.2424, allocations: 0.5857 MB / 435.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.2426, allocations: 32.91 kB / 435.8 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2426, allocations: 47.5 kB / 435.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=89): time 1.963e-06/0.2426, allocations: 0 / 435.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=89): time 0.01336/0.256, allocations: 3.962 MB / 439.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.2561, allocations: 115.8 kB / 439.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.2567, allocations: 445.6 kB / 440.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.2568, allocations: 45.7 kB / 440.4 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.257, allocations: 229.5 kB / 440.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.2572, allocations: 303.5 kB / 440.9 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.2575, allocations: 182.6 kB / 441.1 MB, free: 14.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2577, allocations: 366.8 kB / 441.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008004/0.2585, allocations: 0.5408 MB / 442 MB, free: 13.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008616/0.2594, allocations: 0.6185 MB / 442.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.2611, allocations: 1.209 MB / 443.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2611, allocations: 0 / 443.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006148/0.2672, allocations: 2.382 MB / 446.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2673, allocations: 4 kB / 446.2 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2673, allocations: 0 / 446.2 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006868/0.2742, allocations: 1.773 MB / 448 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.2748, allocations: 147.8 kB / 448.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.2887, allocations: 7.357 MB / 455.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/0.2896, allocations: 91.2 kB / 455.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.2898, allocations: 35.98 kB / 455.6 MB, free: 15.9 MB / 334.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.0003772/0.2902, allocations: 197.7 kB / 455.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.2904, allocations: 75.09 kB / 455.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006316/0.2967, allocations: 2.323 MB / 458.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.2968, allocations: 8 kB / 458.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2968, allocations: 3.938 kB / 458.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.2968, allocations: 3.984 kB / 458.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007831/0.3047, allocations: 3.327 MB / 461.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3047, allocations: 0 / 461.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.3051, allocations: 111.8 kB / 461.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006586/0.3117, allocations: 1.499 MB / 463.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.3119, allocations: 23.94 kB / 463.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/0.3256, allocations: 7.221 MB / 470.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3257, allocations: 0 / 470.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006549/0.3322, allocations: 2.285 MB / 472.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.3325, allocations: 159.9 kB / 472.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.3327, allocations: 16 kB / 472.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/0.3334, allocations: 59.91 kB / 472.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.3337, allocations: 76.88 kB / 473 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/0.3338, allocations: 28 kB / 473 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004112/0.3342, allocations: 295.1 kB / 473.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3342, allocations: 0 / 473.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001111/0.3353, allocations: 335.8 kB / 473.6 MB, free: 13.6 MB / 350.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.0002995/0.3356, allocations: 151.8 kB / 473.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004752/0.3404, allocations: 1.969 MB / 475.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.3404, allocations: 4 kB / 475.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003416/0.3438, allocations: 1.291 MB / 477 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.3446, allocations: 93.92 kB / 477.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.3472, allocations: 1.363 MB / 478.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.3478, allocations: 0.9218 MB / 479.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003256/0.3481, allocations: 92.83 kB / 479.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.3483, allocations: 63.42 kB / 479.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3483, allocations: 0 / 479.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of Templates: time 0.03362/0.3819, allocations: 22.52 MB / 0.4903 GB, free: 1.109 MB / 366.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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)