Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 82.67 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 162.8 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.615/1.615, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1787/0.1787, allocations: 29.44 MB / 290.1 MB, free: 3.289 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.832e-05, allocations: 5.375 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003347/0.003375, allocations: 2.184 MB / 432.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.006592, allocations: 1.906 MB / 434.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.006645, allocations: 4 kB / 434.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.006832, allocations: 15.86 kB / 434.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.006927, allocations: 27.88 kB / 434.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.00957, allocations: 0.9662 MB / 435.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.009715, allocations: 79.67 kB / 435.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.009762, allocations: 8.188 kB / 435.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.009957, allocations: 55.69 kB / 436 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.01005, allocations: 35.89 kB / 436 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.01006, allocations: 0 / 436 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.01327, allocations: 1.906 MB / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.01331, allocations: 11.92 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.01335, allocations: 8 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.01538, allocations: 1.469 MB / 439.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01539, allocations: 3.938 kB / 439.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01539, allocations: 0 / 439.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.01539, allocations: 0 / 439.4 MB, free: 9.219 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007258/0.01612, allocations: 442.5 kB / 439.8 MB, free: 8.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.01616, allocations: 19.97 kB / 439.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.01621, allocations: 12.83 kB / 439.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.0164, allocations: 129.6 kB / 440 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.01642, allocations: 15.86 kB / 440 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.01643, allocations: 4 kB / 440 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.0166, allocations: 91.38 kB / 440.1 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.01661, allocations: 0 / 440.1 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.01662, allocations: 0 / 440.1 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.01663, allocations: 4 kB / 440.1 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.01671, allocations: 61.67 kB / 440.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.01686, allocations: 113.3 kB / 440.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.01697, allocations: 88.12 kB / 440.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/0.01705, allocations: 70.58 kB / 440.4 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.01706, allocations: 0 / 440.4 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.01709, allocations: 30.56 kB / 440.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.01709, allocations: 0 / 440.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003636/0.01746, allocations: 238.7 kB / 440.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.01752, allocations: 85.09 kB / 440.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.01765, allocations: 124.6 kB / 440.9 MB, free: 7.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.01767, allocations: 25.7 kB / 440.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.01772, allocations: 92.12 kB / 441 MB, free: 7.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.01778, allocations: 23.73 kB / 441 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.01783, allocations: 25.73 kB / 441.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.01799, allocations: 318.8 kB / 441.4 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.01806, allocations: 65.67 kB / 441.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.01814, allocations: 61.69 kB / 441.5 MB, free: 6.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.01831, allocations: 140.2 kB / 441.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01831, allocations: 0 / 441.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00022/0.01853, allocations: 177.1 kB / 441.8 MB, free: 6.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.01858, allocations: 45.69 kB / 441.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01858, allocations: 0 / 441.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.0186, allocations: 0 / 441.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.0186, allocations: 0 / 441.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.01861, allocations: 8 kB / 441.9 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.01865, allocations: 7.953 kB / 441.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.01867, allocations: 320 / 441.9 MB, free: 6.48 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 (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.0001341/0.0188, allocations: 159.5 kB / 442 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.01882, allocations: 11.89 kB / 442 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.01884, allocations: 12.44 kB / 442.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.01884, allocations: 3.938 kB / 442.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.01885, allocations: 3.984 kB / 442.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01885, allocations: 0 / 442.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.01896, allocations: 109.3 kB / 442.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01896, allocations: 7.938 kB / 442.2 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-06/0.01896, allocations: 7.938 kB / 442.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01896, allocations: 0 / 442.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01897, allocations: 0 / 442.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01898, allocations: 4 kB / 442.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01898, allocations: 0 / 442.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.01929, allocations: 248.4 kB / 442.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.01931, allocations: 19.81 kB / 442.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.01933, allocations: 12 kB / 442.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.01936, allocations: 0 / 442.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.01938, allocations: 7.938 kB / 442.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.01939, allocations: 4.031 kB / 442.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.835e-05/0.01946, allocations: 95.27 kB / 442.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01946, allocations: 0 / 442.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000827/0.02028, allocations: 319.4 kB / 442.9 MB, free: 5.402 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 (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.001046/0.02133, allocations: 409.3 kB / 443.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.02167, allocations: 238.7 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.02167, allocations: 8.062 kB / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.02183, allocations: 157 kB / 443.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.02202, allocations: 7.438 kB / 443.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.02251, allocations: 266.4 kB / 443.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.61e-05/0.0226, allocations: 87.3 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.166e-05/0.02261, allocations: 0 / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.02262, allocations: 12.56 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02262, allocations: 0 / 444 MB, free: 4.141 MB / 366.1 MB [CodegenCFunctions.tpl:5727:13-5727: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: 2.7922482788562775] Failed to read output from testmodel.py, exit status != 0: 0.23474500328302383 0.24723725900000001 0.229095391 Calling exit ...