Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 112.5 kB / 17.09 MB, free: 6.004 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.001539/0.001539, allocations: 195 kB / 18.02 MB, free: 5.086 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05474/0.05474, allocations: 8.091 MB / 300 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2431, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003051/0.2462, allocations: 2.681 MB / 417.4 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2479, allocations: 1.633 MB / 419 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.248, allocations: 8 kB / 419 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.2484, allocations: 171 kB / 419.2 MB, free: 20.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.2488, allocations: 222.5 kB / 419.4 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.2504, allocations: 1.224 MB / 420.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.2508, allocations: 461.8 kB / 421.1 MB, free: 19.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.251, allocations: 167.7 kB / 421.2 MB, free: 18.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2511, allocations: 187.3 kB / 421.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.2514, allocations: 231 kB / 421.7 MB, free: 18.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.2514, allocations: 43.94 kB / 421.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.2518, allocations: 275.8 kB / 422 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.2518, allocations: 95.61 kB / 422.1 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.252, allocations: 222.9 kB / 422.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.2525, allocations: 0.627 MB / 422.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2526, allocations: 0 / 422.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2526, allocations: 0 / 422.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.2526, allocations: 3.938 kB / 422.9 MB, free: 17.18 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004468/0.2571, allocations: 1.404 MB / 424.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2571, allocations: 8.031 kB / 424.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/0.2572, allocations: 52.47 kB / 424.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.2575, allocations: 335.4 kB / 424.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.2576, allocations: 29.03 kB / 424.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.2576, allocations: 40.36 kB / 424.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.2583, allocations: 0.5062 MB / 425.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2583, allocations: 4.125 kB / 425.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.2583, allocations: 23.94 kB / 425.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.2583, allocations: 8 kB / 425.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.2589, allocations: 446.5 kB / 425.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.2611, allocations: 2.103 MB / 427.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007844/0.2619, allocations: 0.5815 MB / 428.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.2622, allocations: 276.8 kB / 428.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.463e-05/0.2623, allocations: 11.92 kB / 428.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.2624, allocations: 46.5 kB / 428.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.2624, allocations: 0 / 428.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006071/0.2684, allocations: 1.822 MB / 430.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.2685, allocations: 114.8 kB / 430.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.2687, allocations: 270.9 kB / 431 MB, free: 8.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.2688, allocations: 45.7 kB / 431 MB, free: 8.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.2689, allocations: 180.6 kB / 431.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.269, allocations: 141.8 kB / 431.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.2692, allocations: 110.2 kB / 431.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.2692, allocations: 342.8 kB / 431.8 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.2696, allocations: 281 kB / 432 MB, free: 7.598 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.27, allocations: 336.6 kB / 432.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.2708, allocations: 0.6373 MB / 433 MB, free: 6.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2708, allocations: 0 / 433 MB, free: 6.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003097/0.2739, allocations: 1.244 MB / 434.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2739, allocations: 6.344 kB / 434.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2739, allocations: 0 / 434.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/0.2772, allocations: 0.7689 MB / 435 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.2776, allocations: 87.89 kB / 435.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006136/0.2837, allocations: 4.065 MB / 439.2 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.2842, allocations: 51.47 kB / 439.2 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.2842, allocations: 23.98 kB / 439.2 MB, free: 240 kB / 302.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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.2844, allocations: 157.8 kB / 439.4 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.2845, allocations: 35.56 kB / 439.4 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/0.2878, allocations: 1.199 MB / 440.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2878, allocations: 4 kB / 440.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.2879, allocations: 0 / 440.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.2879, allocations: 7.984 kB / 440.6 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/0.2917, allocations: 1.795 MB / 442.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2917, allocations: 8 kB / 442.4 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.2919, allocations: 55.86 kB / 442.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003461/0.2954, allocations: 0.7485 MB / 443.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.2954, allocations: 16 kB / 443.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006995/0.3025, allocations: 4.015 MB / 447.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3025, allocations: 0 / 447.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/0.3059, allocations: 1.207 MB / 448.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.306, allocations: 116.6 kB / 448.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.3061, allocations: 11.94 kB / 448.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.3064, allocations: 27.98 kB / 448.6 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3066, allocations: 36.38 kB / 448.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.3066, allocations: 16 kB / 448.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3068, allocations: 194 kB / 448.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3068, allocations: 0 / 448.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00062/0.3075, allocations: 183.8 kB / 449.1 MB, free: 6.148 MB / 318.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 (35): * Single equations (assignments): 34 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002059/0.3077, allocations: 131.2 kB / 449.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002362/0.31, allocations: 1.027 MB / 450.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3101, allocations: 0 / 450.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.3118, allocations: 0.6687 MB / 450.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.3122, allocations: 44.41 kB / 450.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3135, allocations: 0.7883 MB / 451.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.3138, allocations: 0.8168 MB / 452.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.314, allocations: 54.86 kB / 452.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.3141, allocations: 35.42 kB / 452.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3141, allocations: 0 / 452.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of Templates: time 0.01609/0.3302, allocations: 11.39 MB / 464 MB, free: 7.168 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)