Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 114.2 kB / 17.13 MB, free: 5.965 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.001521/0.001521, allocations: 199 kB / 18.06 MB, free: 5.039 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.34/1.34, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04504/0.04504, allocations: 8.103 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 55.91 kB / 415.1 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08281, allocations: 51.52 MB / 466.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003431/0.08628, allocations: 2.302 MB / 469 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.08867, allocations: 1.668 MB / 470.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.08889, allocations: 4 kB / 470.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.08935, allocations: 167.1 kB / 470.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.08992, allocations: 206.7 kB / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.09207, allocations: 1.225 MB / 472.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.09263, allocations: 414 kB / 472.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.09285, allocations: 131.2 kB / 472.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.09306, allocations: 175.3 kB / 472.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.09336, allocations: 211 kB / 473.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.09343, allocations: 28 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.09391, allocations: 271.8 kB / 473.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.09399, allocations: 79.69 kB / 473.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.09416, allocations: 199 kB / 473.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.09484, allocations: 0.5725 MB / 474.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.09485, allocations: 0 / 474.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09486, allocations: 4 kB / 474.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.09488, allocations: 0 / 474.3 MB, free: 10.51 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.004914/0.0998, allocations: 1.361 MB / 475.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.09984, allocations: 8.031 kB / 475.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.09996, allocations: 44.47 kB / 475.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.1004, allocations: 319.5 kB / 476 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1004, allocations: 32.88 kB / 476 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.1005, allocations: 32.38 kB / 476.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.1012, allocations: 473 kB / 476.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1012, allocations: 192 / 476.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.1012, allocations: 15.94 kB / 476.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1013, allocations: 8 kB / 476.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.1019, allocations: 422.1 kB / 477 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.1044, allocations: 2.017 MB / 479 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008754/0.1053, allocations: 0.5141 MB / 479.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.1057, allocations: 280.8 kB / 479.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.391e-05/0.1058, allocations: 15.98 kB / 479.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.1058, allocations: 38.56 kB / 479.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.1058, allocations: 3.938 kB / 479.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00706/0.1129, allocations: 1.916 MB / 481.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.113, allocations: 110.8 kB / 481.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1132, allocations: 282.8 kB / 482.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.1133, allocations: 37.7 kB / 482.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1134, allocations: 160.8 kB / 482.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1135, allocations: 145.8 kB / 482.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.1137, allocations: 110.2 kB / 482.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1138, allocations: 342.8 kB / 482.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.1143, allocations: 293 kB / 483.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.1148, allocations: 348.6 kB / 483.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.1157, allocations: 0.6568 MB / 484.2 MB, free: 148 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1157, allocations: 0 / 484.2 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003545/0.1193, allocations: 1.256 MB / 485.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1193, allocations: 8 kB / 485.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1193, allocations: 3.938 kB / 485.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/0.1229, allocations: 0.7765 MB / 486.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.1233, allocations: 99.81 kB / 486.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007352/0.1306, allocations: 4.147 MB / 490.5 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.1311, allocations: 59.42 kB / 490.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.1311, allocations: 16 kB / 490.6 MB, free: 9.637 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.0002197/0.1314, allocations: 174.5 kB / 490.7 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.1315, allocations: 35.61 kB / 490.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.135, allocations: 1.218 MB / 492 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.135, allocations: 4 kB / 492 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.135, allocations: 0 / 492 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.135, allocations: 0 / 492 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.1356, allocations: 0.5598 MB / 492.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.1356, allocations: 7.984 kB / 492.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.1359, allocations: 59.92 kB / 492.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/0.1394, allocations: 0.7446 MB / 493.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.1394, allocations: 16 kB / 493.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007134/0.1465, allocations: 4.118 MB / 497.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1466, allocations: 4 kB / 497.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/0.1499, allocations: 1.234 MB / 498.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.15, allocations: 112.5 kB / 498.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.15, allocations: 15.98 kB / 498.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.1504, allocations: 23.98 kB / 498.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.1505, allocations: 36.39 kB / 498.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.1506, allocations: 19.88 kB / 498.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.1508, allocations: 190 kB / 499.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1508, allocations: 4 kB / 499.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005997/0.1514, allocations: 179.9 kB / 499.3 MB, free: 0.6406 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.0002023/0.1516, allocations: 123.2 kB / 499.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.1541, allocations: 1.051 MB / 0.4887 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.1541, allocations: 0 / 0.4887 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.1559, allocations: 0.6804 MB / 0.4894 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1563, allocations: 40.81 kB / 0.4894 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.1577, allocations: 0.8017 MB / 0.4902 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.158, allocations: 0.7974 MB / 0.491 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1581, allocations: 39.42 kB / 0.491 GB, free: 13.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1581, allocations: 0 / 0.491 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Templates: time 0.01109/0.1692, allocations: 7.796 MB / 0.4987 GB, free: 5.242 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)