Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009227/0.0009226, allocations: 96.59 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 178.3 kB / 16.61 MB, free: 6.426 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.482/1.482, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1889/0.1889, allocations: 8.083 MB / 299.7 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 8 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 52.51 MB / 415.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005311/0.1407, allocations: 4.594 MB / 419.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004719/0.1455, allocations: 2.272 MB / 422.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006773/0.1462, allocations: 16 kB / 422.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.1469, allocations: 190.8 kB / 422.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.1482, allocations: 0.592 MB / 422.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2697/0.4179, allocations: 1.189 MB / 424.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002505/0.4204, allocations: 0.9062 MB / 425 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005015/0.4209, allocations: 317.6 kB / 425.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.4214, allocations: 474.8 kB / 425.8 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.4221, allocations: 0.5892 MB / 426.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.4222, allocations: 55.44 kB / 426.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.4229, allocations: 257.1 kB / 426.7 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.4231, allocations: 206.3 kB / 426.9 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.4233, allocations: 229.6 kB / 427.1 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.4242, allocations: 1.008 MB / 428.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.4242, allocations: 3.281 kB / 428.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4242, allocations: 0 / 428.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.4242, allocations: 0 / 428.1 MB, free: 34.59 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01135/0.4356, allocations: 2.99 MB / 431.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4357, allocations: 6.438 kB / 431.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.4361, allocations: 135.9 kB / 431.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.4371, allocations: 0.6536 MB / 431.9 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.83e-05/0.4372, allocations: 72.36 kB / 432 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4374, allocations: 101.4 kB / 432.1 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.4393, allocations: 1.328 MB / 433.4 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4394, allocations: 0 / 433.4 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.4395, allocations: 41.03 kB / 433.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.4395, allocations: 23.23 kB / 433.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.4413, allocations: 1.269 MB / 434.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005975/0.4472, allocations: 5.304 MB / 440.1 MB, free: 30.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.4497, allocations: 3.095 MB / 443.1 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.4498, allocations: 36.3 kB / 443.2 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4499, allocations: 55.83 kB / 443.2 MB, free: 29.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=147): time 3.376e-06/0.4499, allocations: 3.188 kB / 443.2 MB, free: 29.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.02538/0.4753, allocations: 6.967 MB / 450.2 MB, free: 27.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.4754, allocations: 116.6 kB / 450.3 MB, free: 27.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/0.4762, allocations: 0.6364 MB / 451 MB, free: 27.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.4765, allocations: 59.58 kB / 451 MB, free: 27.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.4767, allocations: 339.7 kB / 451.3 MB, free: 27.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/0.477, allocations: 0.4888 MB / 451.8 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.4771, allocations: 30.5 kB / 451.9 MB, free: 26.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4773, allocations: 411.7 kB / 452.3 MB, free: 26.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.4784, allocations: 0.8508 MB / 453.1 MB, free: 25.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.4795, allocations: 0.9684 MB / 454.1 MB, free: 25.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.4809, allocations: 0.937 MB / 455 MB, free: 24.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4809, allocations: 6.547 kB / 455 MB, free: 24.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009152/0.4901, allocations: 3.802 MB / 458.8 MB, free: 23.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.4901, allocations: 6.094 kB / 458.8 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4901, allocations: 3.953 kB / 458.8 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/0.5016, allocations: 4.027 MB / 462.9 MB, free: 23.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.5028, allocations: 224.8 kB / 463.1 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/0.5268, allocations: 10.91 MB / 474 MB, free: 16.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.5286, allocations: 133.4 kB / 474.1 MB, free: 16.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.5288, allocations: 51.62 kB / 474.2 MB, free: 16.79 MB / 350.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 (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 {32 32} Notification: Performance of prepare postOptimizeDAE: time 0.0006398/0.5294, allocations: 266.9 kB / 474.4 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.5297, allocations: 113.2 kB / 474.6 MB, free: 16.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/0.5409, allocations: 3.784 MB / 478.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-05/0.541, allocations: 20.39 kB / 478.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.541, allocations: 0 / 478.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.164e-05/0.5411, allocations: 16.25 kB / 478.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.5552, allocations: 5.308 MB / 483.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.5552, allocations: 4 kB / 483.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/0.5559, allocations: 180 kB / 483.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/0.5662, allocations: 2.743 MB / 486.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/0.5665, allocations: 31.98 kB / 486.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/0.5844, allocations: 10.71 MB / 497.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5844, allocations: 3.984 kB / 497.4 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009686/0.5941, allocations: 3.648 MB / 0.4893 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.5947, allocations: 203.3 kB / 0.4895 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.5949, allocations: 31.98 kB / 0.4895 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.596, allocations: 105.7 kB / 0.4896 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005759/0.5966, allocations: 130.3 kB / 0.4897 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.5967, allocations: 47.98 kB / 0.4898 GB, free: 12.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007069/0.5974, allocations: 435 kB / 0.4902 GB, free: 11.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5974, allocations: 0 / 0.4902 GB, free: 11.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002201/0.5996, allocations: 0.5466 MB / 0.4907 GB, free: 11.27 MB / 366.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 (106): * Single equations (assignments): 105 * 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 {32 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003808/0.6, allocations: 151.7 kB / 0.4908 GB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007345/0.6074, allocations: 3.1 MB / 0.4939 GB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6074, allocations: 0.6562 kB / 0.4939 GB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005267/0.6127, allocations: 2.043 MB / 0.4959 GB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.6136, allocations: 103 kB / 0.496 GB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.6178, allocations: 2.573 MB / 0.4985 GB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/0.6185, allocations: 1.107 MB / 0.4996 GB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005922/0.6191, allocations: 147.5 kB / 0.4997 GB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.6194, allocations: 95.39 kB / 0.4998 GB, free: 1.883 MB / 366.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6194, allocations: 1.203 kB / 0.4998 GB, free: 1.883 MB / 366.1 MB Notification: Performance of Templates: time 0.05269/0.672, allocations: 32.66 MB / 0.5317 GB, free: 1.398 MB / 398.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) Environment - environmentSimulation: