Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") translateModel(PowerSysPro.Examples.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 114.2 kB / 17.13 MB, free: 5.922 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.001899/0.001899, allocations: 198.2 kB / 18.06 MB, free: 5 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.455/1.455, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0497/0.0497, allocations: 8.096 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 415.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.1011, allocations: 51.52 MB / 466.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002659/0.1038, allocations: 1.241 MB / 467.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1056, allocations: 1.263 MB / 469.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.19e-05/0.1057, allocations: 4 kB / 469.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1061, allocations: 67.62 kB / 469.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1063, allocations: 55.62 kB / 469.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.1071, allocations: 354.5 kB / 469.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1073, allocations: 127.4 kB / 469.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1075, allocations: 61.84 kB / 469.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.1076, allocations: 55.78 kB / 469.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1078, allocations: 71.69 kB / 470 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.1078, allocations: 15.94 kB / 470 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.1081, allocations: 99.95 kB / 470.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.1081, allocations: 31.84 kB / 470.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.1082, allocations: 67.67 kB / 470.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1085, allocations: 211.4 kB / 470.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1086, allocations: 3.938 kB / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1086, allocations: 0 / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1086, allocations: 0 / 470.4 MB, free: 14.45 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001048/0.1096, allocations: 475 kB / 470.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1097, allocations: 11.89 kB / 470.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.1097, allocations: 16.84 kB / 470.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.11, allocations: 188.1 kB / 471 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.11, allocations: 8.375 kB / 471.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.11, allocations: 12.38 kB / 471.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1103, allocations: 138.1 kB / 471.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1103, allocations: 192 / 471.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1103, allocations: 11.94 kB / 471.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1103, allocations: 4 kB / 471.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1105, allocations: 95.95 kB / 471.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.1112, allocations: 492.2 kB / 471.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.1116, allocations: 106.6 kB / 471.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.1116, allocations: 28.84 kB / 471.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.1118, allocations: 85.11 kB / 472 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1118, allocations: 34.56 kB / 472 MB, free: 12.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.1118, allocations: 0 / 472 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005998/0.1124, allocations: 223.6 kB / 472.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1125, allocations: 51.41 kB / 472.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1126, allocations: 141.8 kB / 472.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1126, allocations: 29.7 kB / 472.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.1128, allocations: 131.4 kB / 472.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.1128, allocations: 19.72 kB / 472.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.1128, allocations: 33.64 kB / 472.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.113, allocations: 318.8 kB / 473 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.113, allocations: 31.98 kB / 473 MB, free: 11.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.1131, allocations: 27.94 kB / 473 MB, free: 11.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1132, allocations: 72.78 kB / 473.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1132, allocations: 4 kB / 473.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002841/0.1135, allocations: 138.4 kB / 473.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1135, allocations: 4 kB / 473.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1135, allocations: 0 / 473.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/0.1138, allocations: 32.83 kB / 473.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.1139, allocations: 15.98 kB / 473.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.1151, allocations: 1.414 MB / 474.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.49e-05/0.1152, allocations: 8.094 kB / 474.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.1152, allocations: 11.98 kB / 474.7 MB, free: 9.68 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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.1154, allocations: 117.8 kB / 474.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.1154, allocations: 11.91 kB / 474.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.1157, allocations: 119.1 kB / 475 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1157, allocations: 4 kB / 475 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1157, allocations: 0 / 475 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.1157, allocations: 7.984 kB / 475 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.116, allocations: 229.4 kB / 475.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.116, allocations: 0 / 475.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.116, allocations: 8 kB / 475.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.1162, allocations: 40.75 kB / 475.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1162, allocations: 8 kB / 475.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.1174, allocations: 1.398 MB / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1174, allocations: 4.062 kB / 476.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1176, allocations: 200.3 kB / 476.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.1177, allocations: 93.22 kB / 476.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1177, allocations: 4 kB / 476.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1179, allocations: 4 kB / 477 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.1179, allocations: 7.922 kB / 477 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1179, allocations: 8 kB / 477 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.118, allocations: 107.3 kB / 477.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.118, allocations: 0 / 477.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.1184, allocations: 47.83 kB / 477.1 MB, free: 7.031 MB / 350.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 (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.1186, allocations: 119.1 kB / 477.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.119, allocations: 186.9 kB / 477.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.119, allocations: 4 kB / 477.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.1192, allocations: 142.6 kB / 477.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1196, allocations: 19.92 kB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.1201, allocations: 275 kB / 477.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1204, allocations: 0.7002 MB / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.1205, allocations: 11.44 kB / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1205, allocations: 0 / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of Templates: time 0.004323/0.1248, allocations: 2.166 MB / 480.7 MB, free: 3.328 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)