Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001064, allocations: 116.2 kB / 17.13 MB, free: 5.938 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.001006/0.001006, allocations: 193.2 kB / 18.06 MB, free: 5.02 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.28/1.28, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04718/0.04718, allocations: 8.1 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08185/0.08309, allocations: 51.52 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003439/0.08656, allocations: 2.788 MB / 469.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.08888, allocations: 1.761 MB / 471.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.08903, allocations: 8 kB / 471.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.08947, allocations: 182.8 kB / 471.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005062/0.08998, allocations: 258.4 kB / 471.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.09192, allocations: 1.109 MB / 472.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006076/0.09253, allocations: 0.5248 MB / 473.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.09279, allocations: 160.3 kB / 473.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.09299, allocations: 211.2 kB / 473.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.09328, allocations: 270.8 kB / 473.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.09335, allocations: 40 kB / 474 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/0.09382, allocations: 263.7 kB / 474.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.0939, allocations: 95.61 kB / 474.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.09412, allocations: 250.8 kB / 474.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.09482, allocations: 0.6737 MB / 475.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.09483, allocations: 3.984 kB / 475.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09484, allocations: 0 / 475.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.09486, allocations: 4 kB / 475.2 MB, free: 9.551 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.006532/0.1014, allocations: 1.65 MB / 476.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1014, allocations: 8.031 kB / 476.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1016, allocations: 56.36 kB / 477 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.102, allocations: 368 kB / 477.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.102, allocations: 33.38 kB / 477.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.1021, allocations: 44.38 kB / 477.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.1031, allocations: 0.5971 MB / 478 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1031, allocations: 3.938 kB / 478 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.1031, allocations: 16 kB / 478 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1032, allocations: 8 kB / 478 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.104, allocations: 0.5467 MB / 478.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.107, allocations: 2.223 MB / 480.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.1082, allocations: 0.8809 MB / 481.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.1088, allocations: 398.5 kB / 482.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.1103, allocations: 1.334 MB / 483.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1103, allocations: 42.94 kB / 483.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.854e-06/0.1103, allocations: 0 / 483.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.01009/0.1204, allocations: 2.662 MB / 486.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.1205, allocations: 111.2 kB / 486.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.1208, allocations: 337.4 kB / 486.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.1209, allocations: 45.7 kB / 486.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.121, allocations: 201.1 kB / 486.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.1212, allocations: 185.2 kB / 487 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.1214, allocations: 146.6 kB / 487.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1216, allocations: 350.8 kB / 487.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/0.1221, allocations: 397.9 kB / 487.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/0.1229, allocations: 0.5089 MB / 488.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.1242, allocations: 0.9415 MB / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.1242, allocations: 7.984 kB / 489.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004745/0.129, allocations: 1.781 MB / 491.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.129, allocations: 8 kB / 491.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.129, allocations: 0 / 491.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004912/0.134, allocations: 1.106 MB / 492.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.1344, allocations: 115.9 kB / 492.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009476/0.1439, allocations: 5.216 MB / 497.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/0.1446, allocations: 83.11 kB / 497.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.1446, allocations: 20 kB / 497.6 MB, free: 2.398 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.1449, allocations: 181.8 kB / 497.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.1451, allocations: 39.53 kB / 497.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/0.1498, allocations: 1.636 MB / 499.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1499, allocations: 7.938 kB / 499.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.1499, allocations: 8 kB / 499.5 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1499, allocations: 3.984 kB / 499.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.1506, allocations: 0.6735 MB / 0.4884 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1507, allocations: 0 / 0.4884 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.1509, allocations: 59.97 kB / 0.4885 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004829/0.1558, allocations: 1.034 MB / 0.4895 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.1558, allocations: 12 kB / 0.4895 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009431/0.1653, allocations: 5.199 MB / 0.4946 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1653, allocations: 0 / 0.4946 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004585/0.1699, allocations: 1.624 MB / 0.4962 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.17, allocations: 124.4 kB / 0.4963 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/0.1702, allocations: 12 kB / 0.4963 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.1706, allocations: 27.5 kB / 0.4963 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.1708, allocations: 48.44 kB / 0.4964 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.1709, allocations: 23.92 kB / 0.4964 GB, free: 7.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.1711, allocations: 223.2 kB / 0.4966 GB, free: 7.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1711, allocations: 0 / 0.4966 GB, free: 7.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008054/0.1719, allocations: 239.8 kB / 0.4968 GB, free: 6.992 MB / 382.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 (39): * Single equations (assignments): 38 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002287/0.1721, allocations: 123.2 kB / 0.497 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003295/0.1754, allocations: 1.345 MB / 0.4983 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1755, allocations: 0 / 0.4983 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.1776, allocations: 0.8113 MB / 0.4991 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.1781, allocations: 41.42 kB / 0.4991 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.1798, allocations: 0.9549 MB / 0.5 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1802, allocations: 0.8331 MB / 0.5009 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1803, allocations: 47.42 kB / 0.5009 GB, free: 2.762 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1804, allocations: 0 / 0.5009 GB, free: 2.762 MB / 382.1 MB Notification: Performance of Templates: time 0.2205/0.4009, allocations: 9.4 MB / 0.5101 GB, free: 44 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)