Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 107.6 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.001186/0.001186, allocations: 189.5 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05699/0.05699, allocations: 8.094 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 59.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09848, allocations: 51.51 MB / 466 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.00344/0.102, allocations: 2.302 MB / 468.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.1043, allocations: 1.668 MB / 470 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1044, allocations: 4 kB / 470 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1048, allocations: 167 kB / 470.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004197/0.1052, allocations: 210.7 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.1073, allocations: 1.221 MB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.1078, allocations: 410 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.1081, allocations: 143.1 kB / 472.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.1083, allocations: 163.4 kB / 472.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.1086, allocations: 219.1 kB / 472.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.1086, allocations: 28 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.109, allocations: 267.8 kB / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.1091, allocations: 79.69 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.1093, allocations: 199 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.1099, allocations: 0.5687 MB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.11, allocations: 0 / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.11, allocations: 0 / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.11, allocations: 0 / 473.6 MB, free: 10.52 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004459/0.1144, allocations: 1.365 MB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1145, allocations: 12.02 kB / 475 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1146, allocations: 44.47 kB / 475 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.115, allocations: 323.5 kB / 475.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.115, allocations: 28.94 kB / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.1151, allocations: 28.38 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.1159, allocations: 480.9 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1159, allocations: 192 / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.1159, allocations: 15.94 kB / 475.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1159, allocations: 8 kB / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006247/0.1166, allocations: 414.1 kB / 476.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.1193, allocations: 2.013 MB / 478.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008622/0.1202, allocations: 0.5179 MB / 478.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.1206, allocations: 288.7 kB / 479.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-05/0.1207, allocations: 11.98 kB / 479.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.009e-05/0.1208, allocations: 34.56 kB / 479.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.703e-06/0.1208, allocations: 3.938 kB / 479.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00649/0.1273, allocations: 1.869 MB / 481 MB, free: 2.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.1274, allocations: 118.8 kB / 481.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.1278, allocations: 270.9 kB / 481.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.1278, allocations: 37.7 kB / 481.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1279, allocations: 164.8 kB / 481.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1281, allocations: 149.8 kB / 481.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.1283, allocations: 102.2 kB / 481.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1284, allocations: 342.8 kB / 482.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.1289, allocations: 293 kB / 482.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.1294, allocations: 356.6 kB / 482.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009526/0.1303, allocations: 0.6451 MB / 483.5 MB, free: 212 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1303, allocations: 0 / 483.5 MB, free: 212 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003354/0.1337, allocations: 1.272 MB / 484.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1337, allocations: 8 kB / 484.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1338, allocations: 3.938 kB / 484.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003517/0.1373, allocations: 0.7845 MB / 485.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.1376, allocations: 91.83 kB / 485.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/0.1452, allocations: 4.156 MB / 489.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.1456, allocations: 55.42 kB / 489.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.1456, allocations: 23.97 kB / 489.9 MB, free: 9.672 MB / 366.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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.1458, allocations: 158.6 kB / 490 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.1459, allocations: 35.62 kB / 490 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/0.1493, allocations: 1.234 MB / 491.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.1493, allocations: 8 kB / 491.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1493, allocations: 0 / 491.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1493, allocations: 3.984 kB / 491.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.15, allocations: 0.5598 MB / 491.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.15, allocations: 0 / 491.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.1502, allocations: 59.91 kB / 491.9 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003218/0.1534, allocations: 0.7494 MB / 492.7 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.1535, allocations: 12 kB / 492.7 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006583/0.1601, allocations: 4.132 MB / 496.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1601, allocations: 0 / 496.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.1632, allocations: 1.238 MB / 498 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1633, allocations: 116.5 kB / 498.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.1634, allocations: 15.92 kB / 498.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.1637, allocations: 31.98 kB / 498.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1638, allocations: 32.39 kB / 498.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.1639, allocations: 19.94 kB / 498.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.1641, allocations: 190 kB / 498.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1641, allocations: 0 / 498.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000599/0.1647, allocations: 175.9 kB / 498.6 MB, free: 0.6602 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002014/0.1649, allocations: 123.2 kB / 498.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.1672, allocations: 1.051 MB / 499.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1672, allocations: 0 / 499.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.1689, allocations: 0.6882 MB / 0.4887 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1693, allocations: 42.75 kB / 0.4888 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1705, allocations: 0.7616 MB / 0.4895 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1708, allocations: 0.8051 MB / 0.4903 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.1709, allocations: 50.92 kB / 0.4904 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.171, allocations: 35.42 kB / 0.4904 GB, free: 13.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.171, allocations: 7.938 kB / 0.4904 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Templates: time 0.01758/0.1886, allocations: 11.79 MB / 0.5019 GB, free: 1.27 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)