Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 105.5 kB / 16.45 MB, free: 6.43 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.001243/0.001243, allocations: 190.9 kB / 17.39 MB, free: 5.688 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04703/0.04703, allocations: 8.1 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.09061, allocations: 51.5 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002566/0.09322, allocations: 1.411 MB / 467.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.09501, allocations: 1.501 MB / 468.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.09509, allocations: 4 kB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.09542, allocations: 115.4 kB / 469 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.09566, allocations: 95.38 kB / 469.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.09732, allocations: 0.8981 MB / 470 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.0976, allocations: 203 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.09777, allocations: 65.64 kB / 470.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.09786, allocations: 79.7 kB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.09802, allocations: 107.5 kB / 470.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.09806, allocations: 16 kB / 470.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.09841, allocations: 199.8 kB / 470.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.09846, allocations: 39.78 kB / 470.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.09857, allocations: 87.59 kB / 470.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.09902, allocations: 350.8 kB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09903, allocations: 0 / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09904, allocations: 4 kB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.09906, allocations: 4 kB / 471.1 MB, free: 13 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0018/0.1009, allocations: 0.6856 MB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1009, allocations: 8.031 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.101, allocations: 20.84 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1012, allocations: 240.9 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1013, allocations: 16.64 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.1013, allocations: 16.38 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.1016, allocations: 209.2 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1017, allocations: 192 / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1017, allocations: 15.88 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1017, allocations: 4 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.102, allocations: 204.7 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1032, allocations: 0.8424 MB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.1039, allocations: 371.6 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.1041, allocations: 140.8 kB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.1041, allocations: 11.94 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1042, allocations: 30.56 kB / 473.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/0.1042, allocations: 0 / 473.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002086/0.1063, allocations: 0.7312 MB / 474.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.1063, allocations: 51.41 kB / 474.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1065, allocations: 186.2 kB / 474.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1065, allocations: 29.7 kB / 474.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.1066, allocations: 124.5 kB / 475 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.1067, allocations: 75.33 kB / 475.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.1068, allocations: 61.64 kB / 475.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1069, allocations: 330.8 kB / 475.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1071, allocations: 124 kB / 475.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.1073, allocations: 128 kB / 475.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.1077, allocations: 276.8 kB / 476 MB, free: 7.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1077, allocations: 0 / 476 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001001/0.1087, allocations: 482.5 kB / 476.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1087, allocations: 15.94 kB / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1087, allocations: 0 / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007856/0.1095, allocations: 176.7 kB / 476.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1097, allocations: 39.92 kB / 476.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.1127, allocations: 2.352 MB / 479.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.1128, allocations: 19.84 kB / 479.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.1129, allocations: 8 kB / 479.1 MB, free: 4.582 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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.113, allocations: 141.7 kB / 479.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.1131, allocations: 15.91 kB / 479.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/0.1141, allocations: 475.8 kB / 479.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1141, allocations: 0 / 479.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1141, allocations: 4 kB / 479.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1141, allocations: 4 kB / 479.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.1154, allocations: 0.8583 MB / 480.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1154, allocations: 0 / 480.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.1156, allocations: 23.98 kB / 480.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006903/0.1163, allocations: 180.8 kB / 480.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1163, allocations: 7.938 kB / 480.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.1192, allocations: 2.317 MB / 483.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1193, allocations: 0 / 483.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009955/0.1203, allocations: 0.5322 MB / 483.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.1203, allocations: 92.95 kB / 483.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1204, allocations: 11.94 kB / 483.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1206, allocations: 11.98 kB / 483.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.1206, allocations: 19.97 kB / 483.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1206, allocations: 4 kB / 483.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1208, allocations: 140.8 kB / 483.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1208, allocations: 0 / 483.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000422/0.1212, allocations: 79.98 kB / 484 MB, free: 15.43 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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002013/0.1214, allocations: 107.2 kB / 484.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1226, allocations: 0.4985 MB / 484.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1226, allocations: 0 / 484.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000653/0.1232, allocations: 334.5 kB / 484.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1236, allocations: 27.42 kB / 484.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.1245, allocations: 450 kB / 485.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1248, allocations: 0.7289 MB / 486.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.024e-05/0.1249, allocations: 25.53 kB / 486.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.1249, allocations: 19.42 kB / 486.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1249, allocations: 4 kB / 486.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of Templates: time 0.008227/0.1332, allocations: 4.833 MB / 491 MB, free: 8.359 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)