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.001133/0.001133, allocations: 108.5 kB / 16.31 MB, free: 6.395 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.001212/0.001212, allocations: 186.4 kB / 17.24 MB, free: 5.922 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04644/0.04644, allocations: 8.101 MB / 299.2 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.89 kB / 361.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.24, allocations: 51.51 MB / 413.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005411/0.2454, allocations: 5.907 MB / 419.1 MB, free: 19.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.2489, allocations: 2.331 MB / 421.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.2492, allocations: 16 kB / 421.5 MB, free: 17.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.2499, allocations: 321.8 kB / 421.8 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.251, allocations: 0.6093 MB / 422.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.2531, allocations: 1.435 MB / 423.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.2542, allocations: 1.287 MB / 425.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.2546, allocations: 413 kB / 425.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.255, allocations: 0.537 MB / 426.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.2556, allocations: 0.7002 MB / 426.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.2557, allocations: 108 kB / 426.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007273/0.2565, allocations: 339.7 kB / 427.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2567, allocations: 266.9 kB / 427.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.2571, allocations: 0.6102 MB / 428.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.2584, allocations: 1.405 MB / 429.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2584, allocations: 0 / 429.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2584, allocations: 0 / 429.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.2584, allocations: 0 / 429.5 MB, free: 9.277 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01163/0.2701, allocations: 3.158 MB / 432.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2701, allocations: 8.031 kB / 432.7 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.2704, allocations: 135.4 kB / 432.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.2713, allocations: 0.6716 MB / 433.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.2713, allocations: 74.38 kB / 433.5 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2715, allocations: 96.38 kB / 433.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.2732, allocations: 1.338 MB / 435 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2732, allocations: 7.922 kB / 435 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.2733, allocations: 40 kB / 435 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.2733, allocations: 20 kB / 435 MB, free: 3.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.2749, allocations: 1.281 MB / 436.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006491/0.2814, allocations: 5.238 MB / 441.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/0.2846, allocations: 3.115 MB / 444.7 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.2859, allocations: 0.977 MB / 445.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.286, allocations: 33.27 kB / 445.7 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.2861, allocations: 60.05 kB / 445.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=147): time 3.366e-06/0.2861, allocations: 0 / 445.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.02842/0.3145, allocations: 7.073 MB / 452.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.3147, allocations: 124.1 kB / 452.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.3156, allocations: 0.6409 MB / 453.6 MB, free: 256 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.3158, allocations: 57.7 kB / 453.6 MB, free: 192 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.3161, allocations: 334.4 kB / 454 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/0.3165, allocations: 0.4889 MB / 454.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004563/0.317, allocations: 275.5 kB / 454.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3171, allocations: 349.9 kB / 455.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.3184, allocations: 0.8591 MB / 455.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.3197, allocations: 0.9768 MB / 456.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/0.3225, allocations: 1.939 MB / 458.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3225, allocations: 4 kB / 458.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01013/0.3326, allocations: 3.815 MB / 462.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.3327, allocations: 10.28 kB / 462.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3327, allocations: 0 / 462.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/0.3441, allocations: 3.958 MB / 466.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009785/0.3451, allocations: 227.7 kB / 466.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/0.3685, allocations: 11.45 MB / 478.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.3703, allocations: 142.4 kB / 478.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.3705, allocations: 59.98 kB / 478.5 MB, free: 7.148 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 (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,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005945/0.3711, allocations: 263 kB / 478.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.3713, allocations: 106.7 kB / 478.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.3815, allocations: 3.789 MB / 482.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.3816, allocations: 19.94 kB / 482.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3816, allocations: 3.938 kB / 482.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.3816, allocations: 11.97 kB / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.394, allocations: 5.324 MB / 488 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.3941, allocations: 4 kB / 488 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.3948, allocations: 175.7 kB / 488.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01053/0.4053, allocations: 2.747 MB / 490.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003001/0.4057, allocations: 28 kB / 491 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02161/0.4273, allocations: 11.27 MB / 0.4905 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4273, allocations: 4 kB / 0.4905 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009854/0.4372, allocations: 3.667 MB / 0.494 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/0.4376, allocations: 199.3 kB / 0.4942 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.4379, allocations: 39.88 kB / 0.4943 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.4389, allocations: 91.3 kB / 0.4944 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005509/0.4395, allocations: 122.4 kB / 0.4945 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.4396, allocations: 47.98 kB / 0.4945 GB, free: 10.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007028/0.4403, allocations: 439 kB / 0.4949 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4403, allocations: 0 / 0.4949 GB, free: 10.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001855/0.4422, allocations: 0.5349 MB / 0.4955 GB, free: 10 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 (106): * Single equations (assignments): 105 * 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,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004092/0.4426, allocations: 159.7 kB / 0.4956 GB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008873/0.4515, allocations: 3.227 MB / 0.4988 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.4516, allocations: 4.656 kB / 0.4988 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006058/0.4576, allocations: 2.113 MB / 0.5008 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.4589, allocations: 145.5 kB / 0.501 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.4632, allocations: 2.193 MB / 0.5031 GB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.4639, allocations: 1.095 MB / 0.5042 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005364/0.4644, allocations: 147.5 kB / 0.5043 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.4646, allocations: 87.41 kB / 0.5044 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4646, allocations: 0 / 0.5044 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of Templates: time 0.2649/0.7295, allocations: 36.69 MB / 0.5402 GB, free: 66.3 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (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)