Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 110.9 kB / 17.73 MB, free: 5.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 189.3 kB / 20.68 MB, free: 2.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 246.4 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3747/0.3747, allocations: 38.01 MB / 336.6 MB, free: 12.95 MB / 270.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-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(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 68.06 kB / 466.9 MB, free: 27.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1388, allocations: 58.06 MB / 0.5126 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003991/0.1428, allocations: 2.11 MB / 0.5147 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.1463, allocations: 2.031 MB / 0.5167 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.1464, allocations: 0 / 0.5167 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1466, allocations: 11.86 kB / 0.5167 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1468, allocations: 35.77 kB / 0.5167 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.1491, allocations: 0.8264 MB / 0.5175 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1493, allocations: 79.69 kB / 0.5176 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.1493, allocations: 4.188 kB / 0.5176 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.1494, allocations: 35.84 kB / 0.5176 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1496, allocations: 51.75 kB / 0.5177 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1496, allocations: 4 kB / 0.5177 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.1517, allocations: 1.411 MB / 0.5191 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.1518, allocations: 47.83 kB / 0.5191 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.1519, allocations: 51.55 kB / 0.5192 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.1537, allocations: 1.379 MB / 0.5205 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1537, allocations: 0 / 0.5205 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1537, allocations: 0 / 0.5205 GB, free: 1.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1537, allocations: 0 / 0.5205 GB, free: 1.629 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008817/0.1546, allocations: 0.62 MB / 0.5211 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1547, allocations: 11.89 kB / 0.5211 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.1547, allocations: 24.8 kB / 0.5212 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.155, allocations: 216.1 kB / 0.5214 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.155, allocations: 4 kB / 0.5214 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.155, allocations: 0 / 0.5214 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.1553, allocations: 138.6 kB / 0.5215 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1553, allocations: 0 / 0.5215 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1553, allocations: 0 / 0.5215 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1553, allocations: 0 / 0.5215 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1555, allocations: 100.2 kB / 0.5216 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.1557, allocations: 218.1 kB / 0.5218 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1559, allocations: 154.9 kB / 0.522 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.1561, allocations: 149.2 kB / 0.5221 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.1561, allocations: 0 / 0.5221 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.1561, allocations: 30.56 kB / 0.5221 GB, free: 15.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.093e-06/0.1561, allocations: 0 / 0.5221 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008206/0.157, allocations: 0.495 MB / 0.5226 GB, free: 15.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.1571, allocations: 109.1 kB / 0.5227 GB, free: 15.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1572, allocations: 166.4 kB / 0.5229 GB, free: 15.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1573, allocations: 25.7 kB / 0.5229 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.1574, allocations: 112.8 kB / 0.523 GB, free: 14.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1575, allocations: 134.8 kB / 0.5231 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.1576, allocations: 29.7 kB / 0.5232 GB, free: 14.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1577, allocations: 342.8 kB / 0.5235 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1578, allocations: 95.95 kB / 0.5236 GB, free: 14.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.158, allocations: 108.9 kB / 0.5237 GB, free: 14.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.1584, allocations: 380.3 kB / 0.524 GB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1584, allocations: 3.938 kB / 0.524 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004299/0.1588, allocations: 343 kB / 0.5244 GB, free: 13.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.159, allocations: 85.62 kB / 0.5245 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.159, allocations: 3.984 kB / 0.5245 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.159, allocations: 0 / 0.5245 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.159, allocations: 0 / 0.5245 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.159, allocations: 0 / 0.5245 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.133e-05/0.1591, allocations: 27.78 kB / 0.5245 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.1592, allocations: 16.05 kB / 0.5245 GB, free: 13.28 MB / 398.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.1594, allocations: 231.4 kB / 0.5247 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.1595, allocations: 27.84 kB / 0.5247 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1595, allocations: 14.66 kB / 0.5248 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1595, allocations: 0 / 0.5248 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1595, allocations: 0 / 0.5248 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1595, allocations: 0 / 0.5248 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1598, allocations: 245.3 kB / 0.525 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1598, allocations: 0 / 0.525 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.1598, allocations: 4 kB / 0.525 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1598, allocations: 0 / 0.525 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1598, allocations: 8 kB / 0.525 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1598, allocations: 0 / 0.525 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1598, allocations: 0 / 0.525 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1609, allocations: 0.9238 MB / 0.5259 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.161, allocations: 100.8 kB / 0.526 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.161, allocations: 8 kB / 0.526 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.491e-05/0.161, allocations: 4.031 kB / 0.526 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1611, allocations: 8 kB / 0.526 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.1611, allocations: 12 kB / 0.526 GB, free: 11.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1612, allocations: 128.2 kB / 0.5262 GB, free: 11.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1612, allocations: 0 / 0.5262 GB, free: 11.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00111/0.1624, allocations: 359.4 kB / 0.5265 GB, free: 11.12 MB / 398.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009729/0.1633, allocations: 385.8 kB / 0.5269 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.165, allocations: 1.6 MB / 0.5284 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.165, allocations: 0 / 0.5284 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.1662, allocations: 1.37 MB / 0.5298 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1665, allocations: 20.94 kB / 0.5298 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1675, allocations: 0.6698 MB / 0.5304 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1679, allocations: 0.7595 MB / 0.5312 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.498e-05/0.1679, allocations: 4 kB / 0.5312 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.1679, allocations: 7.438 kB / 0.5312 GB, free: 6.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1679, allocations: 0 / 0.5312 GB, free: 6.23 MB / 398.1 MB [CodegenCFunctions.tpl:5632:13-5632:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1362651865929365]