Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004108/0.004108, allocations: 90.91 kB / 15.91 MB, free: 6.301 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.0009953/0.0009953, allocations: 198.2 kB / 16.83 MB, free: 6.234 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.202/1.202, allocations: 222.9 MB / 240.5 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1614/0.1614, allocations: 8.086 MB / 298.7 MB, free: 2.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 63.89 kB / 361 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08769, allocations: 51.52 MB / 412.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.003371/0.0911, allocations: 2.712 MB / 415.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.093, allocations: 1.625 MB / 416.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.09312, allocations: 8 kB / 416.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.09351, allocations: 147.4 kB / 417 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.09391, allocations: 190.9 kB / 417.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.09575, allocations: 1.198 MB / 418.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006126/0.09637, allocations: 437.8 kB / 418.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.09663, allocations: 149.7 kB / 419 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.0968, allocations: 179.2 kB / 419.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.09707, allocations: 231 kB / 419.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.09713, allocations: 28 kB / 419.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.0976, allocations: 255.8 kB / 419.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.09769, allocations: 87.62 kB / 419.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.09787, allocations: 210.9 kB / 420 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.09844, allocations: 0.6114 MB / 420.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09845, allocations: 0 / 420.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.09846, allocations: 4 kB / 420.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.527e-06/0.09847, allocations: 0 / 420.6 MB, free: 2.078 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004651/0.1031, allocations: 1.4 MB / 422 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1032, allocations: 12.03 kB / 422 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1033, allocations: 44.47 kB / 422 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.1037, allocations: 339.5 kB / 422.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1037, allocations: 29.03 kB / 422.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.1038, allocations: 48.31 kB / 422.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.1046, allocations: 0.5023 MB / 422.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1046, allocations: 192 / 422.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.1046, allocations: 19.94 kB / 423 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1047, allocations: 12 kB / 423 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.1053, allocations: 450.5 kB / 423.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.1079, allocations: 2.106 MB / 425.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008788/0.1088, allocations: 0.5816 MB / 426.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.1092, allocations: 272.8 kB / 426.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.15e-05/0.1092, allocations: 11.98 kB / 426.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.1093, allocations: 46.44 kB / 426.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.883e-06/0.1093, allocations: 4 kB / 426.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007056/0.1164, allocations: 1.939 MB / 428.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.1164, allocations: 110.8 kB / 428.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.1167, allocations: 271 kB / 428.7 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.1168, allocations: 37.7 kB / 428.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1169, allocations: 184.5 kB / 429 MB, free: 9.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.117, allocations: 145.8 kB / 429.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.1172, allocations: 114.2 kB / 429.2 MB, free: 8.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1173, allocations: 334.8 kB / 429.5 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.1177, allocations: 297 kB / 429.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.1182, allocations: 328.7 kB / 430.1 MB, free: 8.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008695/0.1191, allocations: 0.6294 MB / 430.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1191, allocations: 0 / 430.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003257/0.1223, allocations: 1.241 MB / 432 MB, free: 6.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1224, allocations: 4 kB / 432 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1224, allocations: 0 / 432 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/0.1258, allocations: 0.783 MB / 432.8 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.1262, allocations: 87.89 kB / 432.9 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006223/0.1324, allocations: 3.677 MB / 436.6 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.1328, allocations: 47.53 kB / 436.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.1329, allocations: 19.98 kB / 436.6 MB, free: 1.41 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 (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.0002052/0.1331, allocations: 169.7 kB / 436.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.1332, allocations: 35.53 kB / 436.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.1363, allocations: 1.175 MB / 438 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1363, allocations: 4 kB / 438 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1364, allocations: 3.938 kB / 438 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1364, allocations: 3.984 kB / 438 MB, free: 0 / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1453/0.2817, allocations: 1.755 MB / 439.8 MB, free: 56.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2817, allocations: 0 / 439.8 MB, free: 56.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.2819, allocations: 56 kB / 439.8 MB, free: 56.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/0.285, allocations: 0.7498 MB / 440.6 MB, free: 56.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.2851, allocations: 11 kB / 440.6 MB, free: 56.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005336/0.2904, allocations: 3.641 MB / 444.2 MB, free: 55.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2904, allocations: 1.406 kB / 444.2 MB, free: 55.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.2932, allocations: 1.182 MB / 445.4 MB, free: 54.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.2933, allocations: 119 kB / 445.5 MB, free: 54.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.2934, allocations: 14.73 kB / 445.5 MB, free: 54.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.2937, allocations: 30.69 kB / 445.6 MB, free: 54.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2938, allocations: 38.95 kB / 445.6 MB, free: 54.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.2939, allocations: 13.12 kB / 445.6 MB, free: 54.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.294, allocations: 190.8 kB / 445.8 MB, free: 54.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.294, allocations: 0 / 445.8 MB, free: 54.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005627/0.2946, allocations: 187 kB / 446 MB, free: 54.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 (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.0001804/0.2948, allocations: 120.3 kB / 446.1 MB, free: 54.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.2968, allocations: 1.008 MB / 447.1 MB, free: 53.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.2968, allocations: 5.219 kB / 447.1 MB, free: 53.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.2983, allocations: 0.6475 MB / 447.8 MB, free: 53.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2986, allocations: 45.3 kB / 447.8 MB, free: 53.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2997, allocations: 0.9366 MB / 448.8 MB, free: 52.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.2999, allocations: 0.8115 MB / 449.6 MB, free: 52.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.3001, allocations: 52.73 kB / 449.6 MB, free: 52.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.3002, allocations: 41.62 kB / 449.7 MB, free: 52.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3002, allocations: 0 / 449.7 MB, free: 52.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01198/0.3122, allocations: 10.71 MB / 460.4 MB, free: 51.42 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)