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.001034/0.001034, allocations: 110.7 kB / 16.45 MB, free: 6.504 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.001053/0.001053, allocations: 186.4 kB / 17.38 MB, free: 5.688 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04914/0.04915, allocations: 8.097 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 414.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1104, allocations: 51.52 MB / 466 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003528/0.114, allocations: 2.317 MB / 468.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1165, allocations: 1.66 MB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1166, allocations: 4 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005581/0.1172, allocations: 163.1 kB / 470.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.1178, allocations: 214.6 kB / 470.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.1201, allocations: 1.21 MB / 471.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.1208, allocations: 418 kB / 472 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.121, allocations: 131.2 kB / 472.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1212, allocations: 167.3 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.1215, allocations: 211.1 kB / 472.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.1216, allocations: 35.94 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.1221, allocations: 275.7 kB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.1222, allocations: 79.69 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.1224, allocations: 199 kB / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006939/0.1231, allocations: 0.58 MB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1231, allocations: 0 / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1231, allocations: 0 / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.1232, 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.004884/0.128, allocations: 1.378 MB / 475 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1281, allocations: 8.031 kB / 475 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.1282, allocations: 44.7 kB / 475 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.1286, allocations: 327.6 kB / 475.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1286, allocations: 24.94 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.1287, allocations: 36.38 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.1294, allocations: 473 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1295, allocations: 192 / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.1295, allocations: 19.94 kB / 475.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1295, allocations: 8 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.1302, allocations: 426 kB / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.1327, allocations: 2.005 MB / 478.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/0.1336, allocations: 0.514 MB / 478.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.1341, allocations: 288.8 kB / 479.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.1341, allocations: 7.984 kB / 479.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1342, allocations: 42.56 kB / 479.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.1342, allocations: 0 / 479.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006535/0.1407, allocations: 1.869 MB / 481 MB, free: 2.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.1408, allocations: 114.8 kB / 481.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.1411, allocations: 278.8 kB / 481.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.1412, allocations: 37.7 kB / 481.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1413, allocations: 165 kB / 481.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1415, allocations: 154.6 kB / 481.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.1417, allocations: 106.2 kB / 481.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1418, allocations: 346.8 kB / 482.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.1423, allocations: 293 kB / 482.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.1428, allocations: 352.6 kB / 482.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009995/0.1438, allocations: 0.649 MB / 483.5 MB, free: 184 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1438, allocations: 0 / 483.5 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003292/0.1471, allocations: 1.264 MB / 484.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1471, allocations: 8 kB / 484.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1471, allocations: 3.938 kB / 484.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/0.1506, allocations: 0.7849 MB / 485.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.1509, allocations: 91.77 kB / 485.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00771/0.1587, allocations: 4.171 MB / 489.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.1592, allocations: 47.62 kB / 489.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.1593, allocations: 19.98 kB / 489.9 MB, free: 9.645 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.0002549/0.1596, allocations: 166.6 kB / 490.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.1597, allocations: 31.81 kB / 490.1 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/0.1631, allocations: 1.222 MB / 491.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1631, allocations: 8 kB / 491.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1631, allocations: 3.984 kB / 491.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1631, allocations: 0 / 491.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.1637, allocations: 0.5638 MB / 491.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1637, allocations: 3.984 kB / 491.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.164, allocations: 63.91 kB / 491.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003367/0.1673, allocations: 0.7535 MB / 492.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.1674, allocations: 15.94 kB / 492.7 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006961/0.1744, allocations: 4.129 MB / 496.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1744, allocations: 0 / 496.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.1776, allocations: 1.238 MB / 498.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1777, allocations: 116.8 kB / 498.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.1778, allocations: 8 kB / 498.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.1781, allocations: 31.08 kB / 498.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1782, allocations: 44.38 kB / 498.3 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.1783, allocations: 19.88 kB / 498.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.1785, allocations: 190 kB / 498.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1785, allocations: 0 / 498.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006081/0.1791, allocations: 176 kB / 498.7 MB, free: 0.625 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.000212/0.1793, allocations: 131 kB / 498.8 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.1818, allocations: 1.051 MB / 499.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1818, allocations: 0 / 499.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.1835, allocations: 0.6843 MB / 0.4888 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1839, allocations: 36.02 kB / 0.4888 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1852, allocations: 0.7768 MB / 0.4896 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1855, allocations: 0.8013 MB / 0.4904 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000161/0.1857, allocations: 46.92 kB / 0.4904 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.1858, allocations: 39.44 kB / 0.4904 GB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1858, allocations: 4 kB / 0.4905 GB, free: 12.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01681/0.2026, allocations: 11.79 MB / 0.502 GB, free: 1.227 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)