Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001497/0.001497, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001442/0.001442, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.526/1.526, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.1796/0.1796, allocations: 29.44 MB / 290.1 MB, free: 3.285 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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.791e-05, allocations: 9.172 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003449/0.003477, allocations: 2.184 MB / 432.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.006851, allocations: 1.906 MB / 434.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.006903, allocations: 4 kB / 434.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.007056, allocations: 15.91 kB / 434.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.98e-05/0.007156, allocations: 19.84 kB / 434.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.01001, allocations: 0.972 MB / 435.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.01016, allocations: 79.64 kB / 435.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.01021, allocations: 8.188 kB / 435.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.01038, allocations: 47.81 kB / 436 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.01047, allocations: 39.89 kB / 436 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.01049, allocations: 0 / 436 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.01366, allocations: 1.898 MB / 437.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.01372, allocations: 19.92 kB / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.01376, allocations: 15.92 kB / 437.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.01574, allocations: 1.481 MB / 439.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.01575, allocations: 3.984 kB / 439.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01575, allocations: 0 / 439.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.01575, allocations: 4 kB / 439.4 MB, free: 9.199 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007116/0.01646, allocations: 461.8 kB / 439.9 MB, free: 8.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.01652, allocations: 19.92 kB / 439.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.01657, allocations: 8.891 kB / 439.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.01676, allocations: 129.7 kB / 440 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.01677, allocations: 3.938 kB / 440 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.01679, allocations: 4 kB / 440 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.017, allocations: 115.4 kB / 440.1 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.01701, allocations: 7.938 kB / 440.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.01702, allocations: 0 / 440.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.01702, allocations: 0 / 440.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.01713, allocations: 81.61 kB / 440.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.01728, allocations: 121.2 kB / 440.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.01741, allocations: 100.2 kB / 440.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.01751, allocations: 82.56 kB / 440.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.01752, allocations: 4 kB / 440.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.01755, allocations: 30.78 kB / 440.6 MB, free: 7.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.01755, allocations: 0 / 440.6 MB, free: 7.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004419/0.01799, allocations: 302.5 kB / 440.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.01806, allocations: 89.09 kB / 440.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.01819, allocations: 136.3 kB / 441.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01821, allocations: 25.7 kB / 441.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.01828, allocations: 99.98 kB / 441.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.01833, allocations: 31.66 kB / 441.2 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.01838, allocations: 25.7 kB / 441.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.01857, allocations: 322.8 kB / 441.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.01867, allocations: 77.67 kB / 441.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.01876, allocations: 81.67 kB / 441.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.01897, allocations: 180.6 kB / 441.9 MB, free: 6.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.01897, allocations: 7.875 kB / 441.9 MB, free: 6.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002764/0.01925, allocations: 212.9 kB / 442.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.515e-05/0.01931, allocations: 53.67 kB / 442.2 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01932, allocations: 0 / 442.2 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.01933, allocations: 0 / 442.2 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.01933, allocations: 0 / 442.2 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.01934, allocations: 0 / 442.2 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.01939, allocations: 7.953 kB / 442.2 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.01942, allocations: 4 kB / 442.2 MB, free: 6.164 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.0001587/0.01957, allocations: 175.4 kB / 442.4 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.0196, allocations: 11.98 kB / 442.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/0.01961, allocations: 12.77 kB / 442.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.01961, allocations: 0 / 442.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.01962, allocations: 0 / 442.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.01962, allocations: 0 / 442.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.01974, allocations: 121.2 kB / 442.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01974, allocations: 3.938 kB / 442.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.01974, allocations: 0 / 442.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01974, allocations: 3.984 kB / 442.5 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.01976, allocations: 4 kB / 442.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.01976, allocations: 0 / 442.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01976, allocations: 7.938 kB / 442.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.02018, allocations: 324.2 kB / 442.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.02019, allocations: 15.88 kB / 442.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.02022, allocations: 8 kB / 442.9 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.871e-05/0.02025, allocations: 0 / 442.9 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.02027, allocations: 7.984 kB / 442.9 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.02028, allocations: 4 kB / 442.9 MB, free: 5.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.596e-05/0.02036, allocations: 110.1 kB / 443 MB, free: 5.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02036, allocations: 0 / 443 MB, free: 5.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008927/0.02125, allocations: 323.3 kB / 443.3 MB, free: 4.98 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.001045/0.02229, allocations: 417.2 kB / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.02272, allocations: 310.7 kB / 444 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02272, allocations: 0 / 444 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.02293, allocations: 189 kB / 444.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.02315, allocations: 15.92 kB / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.02371, allocations: 331 kB / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.626e-05/0.02381, allocations: 91.58 kB / 444.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.342e-05/0.02382, allocations: 0 / 444.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.02384, allocations: 8.5 kB / 444.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02384, allocations: 4 kB / 444.6 MB, free: 3.539 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.7953918389976025] Failed to read output from testmodel.py, exit status != 0: 0.26864560693502426 0.289384162 0.269516617 Calling exit ...