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.001148/0.001148, allocations: 108.4 kB / 16.45 MB, free: 6.449 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.000932/0.0009321, allocations: 186.4 kB / 17.39 MB, free: 5.668 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.394/1.394, 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.0685/0.0685, allocations: 8.107 MB / 299.3 MB, free: 6.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.91 kB / 414.5 MB, free: 21.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1209, allocations: 51.51 MB / 466 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002625/0.1236, allocations: 1.253 MB / 467.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1253, allocations: 1.255 MB / 468.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.1254, allocations: 4 kB / 468.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.1258, allocations: 67.64 kB / 468.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.126, allocations: 51.62 kB / 468.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.1267, allocations: 366.5 kB / 469 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1268, allocations: 127.4 kB / 469.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.127, allocations: 61.84 kB / 469.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.127, allocations: 55.78 kB / 469.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.1272, allocations: 67.69 kB / 469.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.1272, allocations: 12 kB / 469.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.1274, allocations: 103.9 kB / 469.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.1275, allocations: 23.92 kB / 469.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.1276, allocations: 71.66 kB / 469.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.1279, allocations: 207.4 kB / 469.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1279, allocations: 4 kB / 469.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.1279, allocations: 3.984 kB / 469.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1279, allocations: 0 / 469.7 MB, free: 14.54 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.0009422/0.1289, allocations: 477.6 kB / 470.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1289, allocations: 12.03 kB / 470.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.129, allocations: 8.844 kB / 470.2 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.1292, allocations: 188.1 kB / 470.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1292, allocations: 16.38 kB / 470.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1292, allocations: 12.38 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.1295, allocations: 138.1 kB / 470.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1295, allocations: 192 / 470.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1295, allocations: 7.938 kB / 470.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1295, allocations: 4 kB / 470.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1297, allocations: 99.94 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.1304, allocations: 496.2 kB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.1308, allocations: 102.6 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.1308, allocations: 24.86 kB / 471.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.1309, allocations: 85.09 kB / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.131, allocations: 38.56 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.131, allocations: 0 / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005637/0.1316, allocations: 223.6 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1316, allocations: 55.41 kB / 471.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1318, allocations: 141.7 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1318, allocations: 25.7 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1319, allocations: 131.4 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.132, allocations: 27.64 kB / 472 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.132, allocations: 29.64 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1322, allocations: 322.8 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.1323, allocations: 27.98 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.517e-05/0.1323, allocations: 35.92 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.1325, allocations: 60.84 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1325, allocations: 0 / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002896/0.1328, allocations: 134.4 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1328, allocations: 10.5 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1328, allocations: 0 / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.1331, allocations: 36.83 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.1332, allocations: 12 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.1346, allocations: 1.422 MB / 474 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.1347, allocations: 0 / 474 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1347, allocations: 4.188 kB / 474 MB, free: 9.773 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.0001398/0.1348, allocations: 129.8 kB / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.1349, allocations: 15.83 kB / 474.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.1352, allocations: 118.9 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1352, allocations: 0 / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1352, allocations: 0 / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1352, allocations: 0 / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.1355, allocations: 237.4 kB / 474.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1355, allocations: 8.281 kB / 474.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.1355, allocations: 11.94 kB / 474.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.1357, allocations: 32.83 kB / 474.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1357, allocations: 3.938 kB / 474.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.1367, allocations: 1.406 MB / 476 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1367, allocations: 0 / 476 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.137, allocations: 200.5 kB / 476.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1371, allocations: 88.95 kB / 476.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1371, allocations: 0 / 476.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1372, allocations: 11.98 kB / 476.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1372, allocations: 7.984 kB / 476.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1372, allocations: 0 / 476.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.886e-05/0.1373, allocations: 115.2 kB / 476.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1374, allocations: 4 kB / 476.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1376, allocations: 43.78 kB / 476.4 MB, free: 7.109 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.0001768/0.1378, allocations: 103.2 kB / 476.6 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.1382, allocations: 195.4 kB / 476.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1383, allocations: 0 / 476.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.1384, allocations: 146.6 kB / 476.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1388, allocations: 15.92 kB / 476.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.1393, allocations: 249.5 kB / 477.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1396, allocations: 0.7041 MB / 477.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.1396, allocations: 16.66 kB / 477.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.1397, allocations: 11.44 kB / 477.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1397, allocations: 0 / 477.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Templates: time 0.004835/0.1445, allocations: 1.521 MB / 479.4 MB, free: 4.082 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)