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-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.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.001682/0.001682, allocations: 106.7 kB / 17.08 MB, free: 5.988 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.001927/0.001927, allocations: 192 kB / 18.02 MB, free: 5.062 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.423/1.423, 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.04695/0.04695, allocations: 8.088 MB / 300 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 363.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2374, allocations: 51.52 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005528/0.243, allocations: 5.912 MB / 420.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.2467, allocations: 2.333 MB / 422.9 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.2472, allocations: 16 kB / 423 MB, free: 17.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.2478, allocations: 317.8 kB / 423.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.249, allocations: 0.6055 MB / 423.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.2514, allocations: 1.46 MB / 425.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.2528, allocations: 1.299 MB / 426.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.2533, allocations: 412.9 kB / 427 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.2538, allocations: 0.5448 MB / 427.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000566/0.2543, allocations: 0.6964 MB / 428.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.2545, allocations: 100 kB / 428.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006631/0.2551, allocations: 347.8 kB / 428.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.2553, allocations: 262.9 kB / 429 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004077/0.2557, allocations: 0.6101 MB / 429.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.2568, allocations: 1.419 MB / 431 MB, free: 9.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2568, allocations: 0 / 431 MB, free: 9.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2568, allocations: 4 kB / 431 MB, free: 9.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.2569, allocations: 0 / 431 MB, free: 9.062 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.01117/0.268, allocations: 3.147 MB / 434.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2681, allocations: 15.89 kB / 434.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.2684, allocations: 135.4 kB / 434.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.2692, allocations: 0.6756 MB / 435 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.2693, allocations: 70.38 kB / 435 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.2694, allocations: 96.38 kB / 435.1 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.2711, allocations: 1.346 MB / 436.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2711, allocations: 3.938 kB / 436.5 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.2712, allocations: 40 kB / 436.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.2712, allocations: 24 kB / 436.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.2728, allocations: 1.277 MB / 437.8 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006242/0.2791, allocations: 5.214 MB / 443 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/0.2821, allocations: 3.112 MB / 446.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.2834, allocations: 0.977 MB / 447.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.2836, allocations: 37.25 kB / 447.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.2836, allocations: 71.97 kB / 447.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=147): time 2.965e-06/0.2836, allocations: 0 / 447.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.02693/0.3106, allocations: 7.061 MB / 454.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.3107, allocations: 116.1 kB / 454.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/0.3116, allocations: 0.6409 MB / 455 MB, free: 68 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002551/0.3119, allocations: 65.78 kB / 455.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.3121, allocations: 338.3 kB / 455.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.3125, allocations: 496.7 kB / 455.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004732/0.313, allocations: 279.5 kB / 456.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3131, allocations: 345.9 kB / 456.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.3144, allocations: 0.8591 MB / 457.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.3158, allocations: 0.9806 MB / 458.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.3186, allocations: 1.932 MB / 460.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3186, allocations: 0 / 460.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009739/0.3284, allocations: 3.823 MB / 464.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.3284, allocations: 4 kB / 464.1 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.3285, allocations: 3.938 kB / 464.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/0.34, allocations: 3.938 MB / 468.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.3411, allocations: 231.7 kB / 468.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.3634, allocations: 11.44 MB / 479.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.3648, allocations: 138.4 kB / 479.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.3649, allocations: 55.98 kB / 479.9 MB, free: 7.004 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.0006351/0.3656, allocations: 253.7 kB / 480.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.3659, allocations: 110.7 kB / 480.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00956/0.3755, allocations: 3.793 MB / 484.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.3755, allocations: 16 kB / 484.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3755, allocations: 3.938 kB / 484.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.3755, allocations: 7.969 kB / 484.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.3867, allocations: 5.312 MB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.3868, allocations: 0 / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.3874, allocations: 175.7 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01024/0.3977, allocations: 2.727 MB / 492.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.398, allocations: 35.98 kB / 492.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/0.419, allocations: 11.24 MB / 0.4918 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.419, allocations: 0 / 0.4918 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009637/0.4287, allocations: 3.668 MB / 0.4954 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.4292, allocations: 203.3 kB / 0.4956 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.4294, allocations: 27.94 kB / 0.4956 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.4304, allocations: 98.61 kB / 0.4957 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005475/0.431, allocations: 122.4 kB / 0.4958 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.4311, allocations: 52 kB / 0.4959 GB, free: 10.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006867/0.4318, allocations: 439 kB / 0.4963 GB, free: 10.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.455e-06/0.4318, allocations: 0 / 0.4963 GB, free: 10.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001899/0.4337, allocations: 0.5387 MB / 0.4968 GB, free: 9.918 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.0003741/0.4341, allocations: 159.7 kB / 0.4969 GB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007525/0.4416, allocations: 3.181 MB / 0.5001 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4417, allocations: 4.656 kB / 0.5001 GB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005283/0.447, allocations: 2.112 MB / 0.5021 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009505/0.4479, allocations: 142.9 kB / 0.5023 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.4515, allocations: 2.163 MB / 0.5044 GB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.4521, allocations: 1.099 MB / 0.5054 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004478/0.4526, allocations: 143.5 kB / 0.5056 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.4528, allocations: 87.41 kB / 0.5057 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4528, allocations: 4 kB / 0.5057 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of Templates: time 0.2393/0.6921, allocations: 36.69 MB / 0.5415 GB, free: 66.23 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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)