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/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.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.001261/0.001261, allocations: 103.2 kB / 16.45 MB, free: 6.445 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.001645/0.001646, allocations: 192.1 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06191/0.06191, allocations: 8.103 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 51.53 MB / 466 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003237/0.1074, allocations: 2.298 MB / 468.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1098, allocations: 1.66 MB / 470 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1099, allocations: 4 kB / 470 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.1104, allocations: 171 kB / 470.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.1108, allocations: 210.7 kB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.113, allocations: 1.221 MB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.1136, allocations: 414 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.1138, allocations: 139.1 kB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.114, allocations: 167.4 kB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.1143, allocations: 211.1 kB / 472.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.1144, allocations: 28 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.1149, allocations: 271.8 kB / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.115, allocations: 83.67 kB / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.1152, allocations: 191 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.1159, allocations: 0.5726 MB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1159, allocations: 4 kB / 473.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1159, allocations: 0 / 473.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1159, allocations: 3.938 kB / 473.6 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.005003/0.1209, allocations: 1.357 MB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.121, allocations: 8.031 kB / 475 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1211, allocations: 48.45 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.1215, allocations: 327.5 kB / 475.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.1215, allocations: 32.94 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.1216, allocations: 36.38 kB / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.1223, allocations: 472.9 kB / 475.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1223, allocations: 192 / 475.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.1224, allocations: 19.94 kB / 475.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1224, allocations: 8 kB / 475.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/0.123, allocations: 414.1 kB / 476.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.1256, allocations: 2.009 MB / 478.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/0.1265, allocations: 0.5179 MB / 478.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.1269, allocations: 280.8 kB / 479.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.127, allocations: 19.97 kB / 479.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.127, allocations: 38.56 kB / 479.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.127, allocations: 0 / 479.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006663/0.1337, allocations: 1.92 MB / 481.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.1338, allocations: 110.8 kB / 481.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.1341, allocations: 278.9 kB / 481.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.1342, allocations: 41.64 kB / 481.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1343, allocations: 168.8 kB / 481.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1344, allocations: 137.9 kB / 481.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.1346, allocations: 106.2 kB / 481.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1348, allocations: 346.8 kB / 482.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.1352, allocations: 293 kB / 482.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.1358, allocations: 348.6 kB / 482.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.1368, allocations: 0.649 MB / 483.5 MB, free: 148 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.1368, allocations: 0 / 483.5 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003275/0.1401, allocations: 1.26 MB / 484.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1401, allocations: 8 kB / 484.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1401, allocations: 3.938 kB / 484.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/0.1436, allocations: 0.7807 MB / 485.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.1439, allocations: 91.83 kB / 485.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/0.1512, allocations: 4.159 MB / 489.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.1516, allocations: 55.42 kB / 489.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/0.1516, allocations: 19.98 kB / 489.9 MB, free: 9.625 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.0002329/0.1519, allocations: 166.6 kB / 490.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/0.152, allocations: 31.62 kB / 490.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.1553, allocations: 1.214 MB / 491.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1553, allocations: 4 kB / 491.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1553, allocations: 4 kB / 491.3 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.1553, allocations: 3.984 kB / 491.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.1559, allocations: 0.5676 MB / 491.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1559, allocations: 0 / 491.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.1561, allocations: 63.91 kB / 491.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003201/0.1593, allocations: 0.7453 MB / 492.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.1594, allocations: 12 kB / 492.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006515/0.1659, allocations: 4.122 MB / 496.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1659, allocations: 0 / 496.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.169, allocations: 1.226 MB / 498 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.643e-05/0.1691, allocations: 116.5 kB / 498.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.1691, allocations: 12 kB / 498.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.1695, allocations: 23.98 kB / 498.2 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.1696, allocations: 44.31 kB / 498.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.1696, allocations: 15.94 kB / 498.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1698, allocations: 194 kB / 498.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1698, allocations: 0 / 498.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006022/0.1704, allocations: 175.9 kB / 498.6 MB, free: 0.6445 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.0001981/0.1706, allocations: 127.2 kB / 498.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.173, allocations: 1.043 MB / 499.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.173, allocations: 4 kB / 499.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.1746, allocations: 0.6843 MB / 0.4887 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.000368/0.175, allocations: 40.81 kB / 0.4888 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1762, allocations: 0.7684 MB / 0.4895 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1766, allocations: 0.8013 MB / 0.4903 GB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.1767, allocations: 54.92 kB / 0.4904 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.1768, allocations: 35.42 kB / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1768, allocations: 0 / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01718/0.194, allocations: 11.79 MB / 0.5019 GB, free: 1.258 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)