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.001045/0.001045, allocations: 103.6 kB / 16.45 MB, free: 6.438 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.001048/0.001048, allocations: 189.4 kB / 17.39 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.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04786/0.04786, allocations: 8.098 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 63.89 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1013, allocations: 51.52 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003537/0.1049, allocations: 2.31 MB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1073, allocations: 1.66 MB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1074, allocations: 8 kB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.1079, allocations: 163.1 kB / 470.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.1083, allocations: 210.5 kB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.1105, allocations: 1.218 MB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.111, allocations: 417.9 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1112, allocations: 135.2 kB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1114, allocations: 167.4 kB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.1117, allocations: 211.1 kB / 472.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.1117, allocations: 32 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.1122, allocations: 271.7 kB / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1124, allocations: 79.67 kB / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.1125, allocations: 199 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006969/0.1132, allocations: 0.5722 MB / 473.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1133, allocations: 8 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1133, allocations: 0 / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1133, allocations: 0 / 473.6 MB, free: 10.5 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.004917/0.1182, allocations: 1.376 MB / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1182, allocations: 8.031 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1184, allocations: 44.7 kB / 475 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1188, allocations: 331.6 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1188, allocations: 28.94 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.1189, allocations: 32.38 kB / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.1197, allocations: 473 kB / 475.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1197, allocations: 192 / 475.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.1197, allocations: 15.94 kB / 475.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1198, allocations: 7.938 kB / 475.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.1204, allocations: 422.1 kB / 476.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.1229, allocations: 2.005 MB / 478.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.1239, allocations: 0.5218 MB / 478.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.1243, allocations: 284.8 kB / 479.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.095e-05/0.1244, allocations: 7.984 kB / 479.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1244, allocations: 42.56 kB / 479.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.1244, allocations: 0 / 479.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006712/0.1312, allocations: 1.924 MB / 481.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.1312, allocations: 110.8 kB / 481.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1316, allocations: 278.9 kB / 481.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.1316, allocations: 37.7 kB / 481.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1317, allocations: 165 kB / 481.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.1319, allocations: 158.6 kB / 481.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.1321, allocations: 106.2 kB / 481.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1322, allocations: 338.8 kB / 482.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.1327, allocations: 301 kB / 482.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.1332, allocations: 352.7 kB / 482.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/0.1342, allocations: 0.649 MB / 483.6 MB, free: 108 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1342, allocations: 3.984 kB / 483.6 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003506/0.1377, allocations: 1.256 MB / 484.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1377, allocations: 7.938 kB / 484.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1377, allocations: 3.938 kB / 484.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003468/0.1412, allocations: 0.777 MB / 485.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.1416, allocations: 87.83 kB / 485.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007184/0.1488, allocations: 4.174 MB / 489.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.1492, allocations: 51.62 kB / 489.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.1493, allocations: 19.98 kB / 489.9 MB, free: 9.578 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.0002067/0.1495, allocations: 158.6 kB / 490.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1496, allocations: 31.81 kB / 490.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.1529, allocations: 1.218 MB / 491.3 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.1529, allocations: 8 kB / 491.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1529, allocations: 0 / 491.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1529, allocations: 7.984 kB / 491.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.1535, allocations: 0.5599 MB / 491.9 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1535, allocations: 0 / 491.9 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.1537, allocations: 59.91 kB / 492 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003268/0.157, allocations: 0.7529 MB / 492.7 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.157, allocations: 15.98 kB / 492.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006762/0.1638, allocations: 4.126 MB / 496.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1638, allocations: 3.984 kB / 496.9 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.167, allocations: 1.226 MB / 498.1 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1671, allocations: 116.8 kB / 498.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.1672, allocations: 12 kB / 498.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.1675, allocations: 23.98 kB / 498.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1676, allocations: 40.31 kB / 498.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.1677, allocations: 19.94 kB / 498.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1679, allocations: 197.9 kB / 498.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1679, allocations: 0 / 498.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006223/0.1685, allocations: 176 kB / 498.7 MB, free: 0.5898 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.0002228/0.1688, allocations: 135.1 kB / 498.8 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.1712, allocations: 1.047 MB / 499.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1712, allocations: 0 / 499.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.1729, allocations: 0.6843 MB / 0.4888 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.1733, allocations: 36.88 kB / 0.4888 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1746, allocations: 0.7684 MB / 0.4896 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.175, allocations: 0.7974 MB / 0.4904 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.1752, allocations: 54.92 kB / 0.4904 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.501e-05/0.1753, allocations: 35.42 kB / 0.4904 GB, free: 12.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1753, allocations: 0 / 0.4904 GB, free: 12.95 MB / 382.1 MB Notification: Performance of Templates: time 0.01677/0.192, allocations: 11.79 MB / 0.502 GB, free: 1.195 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)