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/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.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.001271/0.001271, allocations: 104.5 kB / 16.45 MB, free: 6.441 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.001467/0.001468, allocations: 188.9 kB / 17.38 MB, free: 5.691 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.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04632/0.04632, allocations: 8.104 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 67.89 kB / 414.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1048, allocations: 51.51 MB / 466 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002534/0.1074, allocations: 1.249 MB / 467.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.1091, allocations: 1.255 MB / 468.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.1092, allocations: 0 / 468.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003926/0.1096, allocations: 75.61 kB / 468.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.1098, allocations: 55.62 kB / 468.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.1106, allocations: 358.4 kB / 469 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.1109, allocations: 127.5 kB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.1111, allocations: 65.81 kB / 469.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.1112, allocations: 55.73 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1115, allocations: 67.75 kB / 469.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.667e-05/0.1116, allocations: 12 kB / 469.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.1118, allocations: 103.9 kB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.1118, allocations: 27.91 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/0.1119, allocations: 67.61 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1122, allocations: 211.2 kB / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1122, allocations: 0 / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1122, allocations: 0 / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1122, allocations: 0 / 469.7 MB, free: 14.47 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.0009527/0.1132, allocations: 489.4 kB / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1132, allocations: 12.03 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.1133, allocations: 12.84 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1135, allocations: 188.2 kB / 470.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1135, allocations: 12.38 kB / 470.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1136, allocations: 12.38 kB / 470.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.1139, allocations: 138.2 kB / 470.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1139, allocations: 4.188 kB / 470.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1139, allocations: 11.88 kB / 470.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1139, allocations: 4 kB / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1141, allocations: 91.97 kB / 470.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.1149, allocations: 0.4923 MB / 471.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.1153, allocations: 102.7 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.1153, allocations: 28.86 kB / 471.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.1155, allocations: 85.05 kB / 471.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1155, allocations: 34.55 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1155, allocations: 0 / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006395/0.1161, allocations: 223.6 kB / 471.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1162, allocations: 55.41 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.1164, allocations: 138 kB / 471.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1164, allocations: 29.7 kB / 471.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1165, allocations: 119.6 kB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1166, allocations: 31.67 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.1166, allocations: 29.7 kB / 472 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.1169, allocations: 322.8 kB / 472.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.117, allocations: 27.98 kB / 472.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-05/0.117, allocations: 31.98 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.762e-05/0.1171, allocations: 65 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1171, allocations: 4 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002784/0.1174, allocations: 134.6 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1174, allocations: 4 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1175, allocations: 96 / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.1177, allocations: 44.7 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1178, allocations: 19.98 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1191, allocations: 1.418 MB / 474 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.1192, allocations: 4 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1192, allocations: 4.031 kB / 474.1 MB, free: 9.676 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 9.73e-05/0.1193, allocations: 125.8 kB / 474.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.1193, allocations: 12.05 kB / 474.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.1197, allocations: 135 kB / 474.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1197, allocations: 0 / 474.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1197, allocations: 0 / 474.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1197, allocations: 0 / 474.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.1199, allocations: 217.5 kB / 474.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.12, allocations: 0 / 474.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.12, allocations: 11.98 kB / 474.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.1201, allocations: 40.83 kB / 474.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1202, allocations: 4 kB / 474.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.1213, allocations: 1.41 MB / 476 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1214, allocations: 0 / 476 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.1217, allocations: 204.3 kB / 476.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1218, allocations: 93.09 kB / 476.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1218, allocations: 4 kB / 476.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1219, allocations: 7.984 kB / 476.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.1219, allocations: 8 kB / 476.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1219, allocations: 0 / 476.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1221, allocations: 115.2 kB / 476.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.1221, allocations: 0 / 476.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1224, allocations: 39.83 kB / 476.5 MB, free: 7.02 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.0001695/0.1225, allocations: 103.2 kB / 476.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.1229, allocations: 190.6 kB / 476.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1229, allocations: 0 / 476.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.1231, allocations: 146.7 kB / 476.9 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.0003411/0.1235, allocations: 15.94 kB / 476.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.1239, allocations: 249.1 kB / 477.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1243, allocations: 0.712 MB / 477.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.966e-05/0.1244, allocations: 12.66 kB / 477.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.1244, allocations: 15.38 kB / 477.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1244, allocations: 0 / 477.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of Templates: time 0.004914/0.1293, allocations: 1.519 MB / 479.4 MB, free: 3.996 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)