Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 103 kB / 16.98 MB, free: 6.18 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.001794/0.001794, allocations: 187.3 kB / 17.91 MB, free: 5.281 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.463/1.463, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04942/0.04942, allocations: 8.091 MB / 299.9 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 362.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2298, allocations: 51.51 MB / 413.9 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.005943/0.2358, allocations: 6.111 MB / 420 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.2395, allocations: 2.452 MB / 422.5 MB, free: 17.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.2402, allocations: 20 kB / 422.5 MB, free: 17.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.241, allocations: 333.7 kB / 422.8 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.2425, allocations: 0.6444 MB / 423.5 MB, free: 16.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.2452, allocations: 1.472 MB / 424.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.2467, allocations: 1.431 MB / 426.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005643/0.2473, allocations: 0.521 MB / 426.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.2478, allocations: 0.5995 MB / 427.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007906/0.2486, allocations: 0.747 MB / 428.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.2488, allocations: 144 kB / 428.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006961/0.2495, allocations: 395.7 kB / 428.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.2497, allocations: 306.9 kB / 429.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.2502, allocations: 0.696 MB / 429.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.2516, allocations: 1.807 MB / 431.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2516, allocations: 0 / 431.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2516, allocations: 0 / 431.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.2517, allocations: 0 / 431.6 MB, free: 8.016 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01222/0.2639, allocations: 3.236 MB / 434.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2639, allocations: 11.89 kB / 434.8 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.2642, allocations: 143.3 kB / 435 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009333/0.2652, allocations: 0.7653 MB / 435.7 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.2652, allocations: 78.38 kB / 435.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.2654, allocations: 100.4 kB / 435.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.2675, allocations: 1.526 MB / 437.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2675, allocations: 4.172 kB / 437.4 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.2676, allocations: 43.94 kB / 437.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.2676, allocations: 20 kB / 437.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.2695, allocations: 1.472 MB / 439 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007997/0.2775, allocations: 6.018 MB / 445 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.2811, allocations: 3.753 MB / 448.7 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.2827, allocations: 1.108 MB / 449.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.2829, allocations: 37.27 kB / 449.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.283, allocations: 56.11 kB / 449.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 3.366e-06/0.283, allocations: 3.938 kB / 449.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.03454/0.3175, allocations: 8.274 MB / 458.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.3177, allocations: 128 kB / 458.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3187, allocations: 0.6682 MB / 459 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003212/0.3191, allocations: 65.7 kB / 459.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.3194, allocations: 346.3 kB / 459.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/0.3199, allocations: 0.5005 MB / 459.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000512/0.3204, allocations: 287.6 kB / 460.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3205, allocations: 345.9 kB / 460.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.322, allocations: 0.9607 MB / 461.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.3237, allocations: 1.082 MB / 462.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.3269, allocations: 2.166 MB / 464.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3269, allocations: 0 / 464.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01091/0.3379, allocations: 4.123 MB / 468.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.3379, allocations: 4 kB / 468.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.338, allocations: 0 / 468.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/0.3501, allocations: 4.216 MB / 473.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.3512, allocations: 223.7 kB / 473.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.025/0.3762, allocations: 13.17 MB / 486.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.3776, allocations: 134.4 kB / 486.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.3778, allocations: 55.98 kB / 486.7 MB, free: 15.71 MB / 366.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,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0005764/0.3784, allocations: 305.6 kB / 487 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.3786, allocations: 110.7 kB / 487.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.389, allocations: 4.074 MB / 491.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.3891, allocations: 16 kB / 491.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3891, allocations: 0 / 491.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.3891, allocations: 15.94 kB / 491.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.4018, allocations: 5.999 MB / 497.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.4018, allocations: 4 kB / 497.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/0.4025, allocations: 175.7 kB / 497.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01073/0.4132, allocations: 2.899 MB / 0.4885 GB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/0.4135, allocations: 35.98 kB / 0.4886 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02341/0.4369, allocations: 12.94 MB / 0.5012 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.437, allocations: 7.938 kB / 0.5012 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.4475, allocations: 3.94 MB / 0.5051 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.4479, allocations: 211.2 kB / 0.5053 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.4482, allocations: 32 kB / 0.5053 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.4493, allocations: 91.86 kB / 0.5054 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/0.4498, allocations: 126.4 kB / 0.5055 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.4499, allocations: 55.98 kB / 0.5055 GB, free: 408 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1915/0.6414, allocations: 454.1 kB / 0.506 GB, free: 92.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6414, allocations: 0.5 kB / 0.506 GB, free: 92.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003008/0.6444, allocations: 0.5511 MB / 0.5065 GB, free: 92.13 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 (105): * Single equations (assignments): 104 * 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,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004572/0.6449, allocations: 161.8 kB / 0.5067 GB, free: 92.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009355/0.6543, allocations: 3.484 MB / 0.5101 GB, free: 91.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.6543, allocations: 4.484 kB / 0.5101 GB, free: 91.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006013/0.6604, allocations: 2.268 MB / 0.5123 GB, free: 91.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.6617, allocations: 151.7 kB / 0.5124 GB, free: 91.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.6671, allocations: 2.455 MB / 0.5148 GB, free: 90.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/0.668, allocations: 1.101 MB / 0.5159 GB, free: 89.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.6683, allocations: 101.6 kB / 0.516 GB, free: 89.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6683, allocations: 0 / 0.516 GB, free: 89.39 MB / 382.1 MB Notification: Performance of Templates: time 0.02945/0.6978, allocations: 25.22 MB / 0.5406 GB, free: 68.83 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)