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.001311/0.001311, allocations: 105.2 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.001429/0.001429, allocations: 190.4 kB / 17.39 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.452/1.452, 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.05463/0.05463, allocations: 8.102 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.08 kB / 414.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.124, allocations: 51.51 MB / 466 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002632/0.1266, allocations: 1.399 MB / 467.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1288, allocations: 1.508 MB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.217e-05/0.1289, allocations: 4 kB / 468.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.1293, allocations: 119.4 kB / 469 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1296, allocations: 99.38 kB / 469.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1312, allocations: 0.8867 MB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1316, allocations: 199 kB / 470.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1318, allocations: 69.62 kB / 470.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.554e-05/0.1319, allocations: 83.7 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1321, allocations: 99.55 kB / 470.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.1321, allocations: 16 kB / 470.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.1325, allocations: 199.8 kB / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.1326, allocations: 43.77 kB / 470.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1327, allocations: 95.53 kB / 470.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.1332, allocations: 350.9 kB / 471.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1332, allocations: 0 / 471.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1332, allocations: 4 kB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1333, allocations: 4 kB / 471.1 MB, free: 13.02 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.002009/0.1353, allocations: 0.6746 MB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.1353, allocations: 8.031 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.957e-05/0.1354, allocations: 20.75 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.1358, allocations: 228.8 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.1358, allocations: 16.66 kB / 472.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.1359, allocations: 12.38 kB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.1363, allocations: 213.2 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1363, allocations: 192 / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.1363, allocations: 11.94 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.1364, allocations: 7.984 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.1367, allocations: 208.7 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.138, allocations: 0.8345 MB / 473.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.1387, allocations: 379.5 kB / 473.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1389, allocations: 144.8 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/0.139, allocations: 7.984 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.139, allocations: 34.56 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.139, allocations: 0 / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002066/0.1411, allocations: 0.7272 MB / 474.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1411, allocations: 51.41 kB / 474.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1413, allocations: 186.3 kB / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.1414, allocations: 33.7 kB / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.1414, allocations: 116.3 kB / 475 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.1415, allocations: 78.89 kB / 475.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.1416, allocations: 49.7 kB / 475.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1417, allocations: 338.8 kB / 475.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1419, allocations: 116 kB / 475.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.1421, allocations: 127.9 kB / 475.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.1424, allocations: 280.8 kB / 476 MB, free: 7.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1424, allocations: 0 / 476 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009329/0.1434, allocations: 486.5 kB / 476.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.1434, allocations: 15.94 kB / 476.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1434, allocations: 0 / 476.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000844/0.1443, allocations: 176.6 kB / 476.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1444, allocations: 39.91 kB / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.1477, allocations: 2.351 MB / 479 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.1479, allocations: 23.69 kB / 479.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.1479, allocations: 7.938 kB / 479.1 MB, free: 4.629 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.0001527/0.1481, allocations: 137.8 kB / 479.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.1481, allocations: 15.81 kB / 479.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.1492, allocations: 468 kB / 479.7 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.1492, allocations: 4 kB / 479.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1492, allocations: 0 / 479.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1492, allocations: 7.922 kB / 479.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.1507, allocations: 0.8621 MB / 480.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1507, allocations: 3.984 kB / 480.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.1508, allocations: 27.98 kB / 480.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007116/0.1515, allocations: 176.6 kB / 480.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1515, allocations: 7.984 kB / 480.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.1546, allocations: 2.317 MB / 483.1 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1546, allocations: 0 / 483.1 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.1556, allocations: 0.5204 MB / 483.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.1557, allocations: 100.8 kB / 483.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1557, allocations: 4 kB / 483.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1559, allocations: 11.98 kB / 483.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.156, allocations: 16.27 kB / 483.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.156, allocations: 11.98 kB / 483.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1562, allocations: 136.8 kB / 483.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1562, allocations: 3.938 kB / 483.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.1566, allocations: 80 kB / 484 MB, free: 15.48 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.0002045/0.1568, allocations: 119.2 kB / 484.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.1579, allocations: 498.5 kB / 484.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1579, allocations: 0 / 484.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.1586, allocations: 342.5 kB / 484.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.159, allocations: 19.92 kB / 484.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/0.1599, allocations: 436.2 kB / 485.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1602, allocations: 0.7289 MB / 486.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.319e-05/0.1603, allocations: 21.53 kB / 486.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.1603, allocations: 27.42 kB / 486.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1604, allocations: 0 / 486.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.009109/0.1695, allocations: 4.834 MB / 490.9 MB, free: 8.422 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)