Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 109.4 kB / 16.45 MB, free: 6.453 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.001081/0.001081, allocations: 188.9 kB / 17.39 MB, free: 5.684 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.466/1.466, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.09712/0.09712, allocations: 8.098 MB / 299.3 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 51.52 MB / 466 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.00266/0.1121, allocations: 1.601 MB / 467.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.1144, allocations: 1.551 MB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.1145, allocations: 4 kB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1149, allocations: 131.3 kB / 469.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.1153, allocations: 143.1 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.1173, allocations: 1.167 MB / 470.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.1176, allocations: 246.8 kB / 470.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1178, allocations: 80.34 kB / 470.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1179, allocations: 99.64 kB / 471 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.1182, allocations: 131.4 kB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.1182, allocations: 16 kB / 471.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.1186, allocations: 247.8 kB / 471.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.1187, allocations: 47.78 kB / 471.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1188, allocations: 119.4 kB / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005315/0.1194, allocations: 430.8 kB / 472 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1194, allocations: 0 / 472 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1194, allocations: 0 / 472 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1194, allocations: 4 kB / 472 MB, free: 12.18 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003095/0.1225, allocations: 0.9086 MB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1226, allocations: 8.031 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.1226, allocations: 24.66 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.123, allocations: 255.9 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.123, allocations: 16.7 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.123, allocations: 24.31 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.1235, allocations: 297.7 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1235, allocations: 192 / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.1236, allocations: 11.94 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1236, allocations: 4 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.1239, allocations: 243.9 kB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.1255, allocations: 1.133 MB / 474.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.1261, allocations: 310.4 kB / 475.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.1263, allocations: 161.3 kB / 475.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.1264, allocations: 15.91 kB / 475.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1264, allocations: 38.5 kB / 475.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.876e-06/0.1264, allocations: 0 / 475.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003214/0.1297, allocations: 0.9641 MB / 476.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.1298, allocations: 81.09 kB / 476.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.1301, allocations: 214.8 kB / 476.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.1302, allocations: 33.7 kB / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1304, allocations: 128.8 kB / 476.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.866e-05/0.1305, allocations: 94.73 kB / 476.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1306, allocations: 65.69 kB / 477 MB, free: 6.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.1309, allocations: 330.8 kB / 477.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.1312, allocations: 160 kB / 477.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.1315, allocations: 193.6 kB / 477.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005883/0.1321, allocations: 370.1 kB / 478 MB, free: 5.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1321, allocations: 3.938 kB / 478 MB, free: 5.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001891/0.134, allocations: 0.6888 MB / 478.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.134, allocations: 8 kB / 478.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1341, allocations: 0 / 478.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.1358, allocations: 380.5 kB / 479.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.1361, allocations: 51.91 kB / 479.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004617/0.1407, allocations: 2.742 MB / 481.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.141, allocations: 35.73 kB / 481.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.141, allocations: 8 kB / 481.9 MB, free: 1.746 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.1413, allocations: 141.8 kB / 482 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.1414, allocations: 23.66 kB / 482.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.1432, allocations: 0.6481 MB / 482.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1432, allocations: 11.88 kB / 482.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1432, allocations: 4.109 kB / 482.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.1432, allocations: 4 kB / 482.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.1436, allocations: 389.2 kB / 483.1 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1437, allocations: 0 / 483.1 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1438, allocations: 35.98 kB / 483.1 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.1455, allocations: 372.4 kB / 483.5 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.1455, allocations: 8 kB / 483.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/0.1495, allocations: 2.722 MB / 486.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1495, allocations: 0 / 486.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.1512, allocations: 0.7111 MB / 486.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.1513, allocations: 96.86 kB / 487 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1513, allocations: 11.91 kB / 487.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.1516, allocations: 15.98 kB / 487.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.1517, allocations: 23.97 kB / 487.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.1517, allocations: 4 kB / 487.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1519, allocations: 163.4 kB / 487.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1519, allocations: 0 / 487.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000497/0.1524, allocations: 96 kB / 487.4 MB, free: 12.04 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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002126/0.1526, allocations: 115.2 kB / 487.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.1544, allocations: 0.6469 MB / 488.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.1544, allocations: 3.938 kB / 488.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.1556, allocations: 466.4 kB / 488.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1559, allocations: 27.06 kB / 488.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.1567, allocations: 0.4947 MB / 489.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1571, allocations: 0.7446 MB / 489.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.1572, allocations: 33.92 kB / 489.9 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.1573, allocations: 23.44 kB / 489.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1573, allocations: 0 / 489.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of Templates: time 0.01135/0.1687, allocations: 6.371 MB / 496.3 MB, free: 3.066 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)