Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001926/0.001926, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002012/0.002012, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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.604/1.604, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3139/0.3139, allocations: 29.41 MB / 290.5 MB, free: 2.406 MB / 266.7 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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.872e-05/5.059e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003975/0.004026, allocations: 2.227 MB / 371.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.007787, allocations: 1.957 MB / 373.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.007855, allocations: 0 / 373.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.008015, allocations: 11.92 kB / 373.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.008122, allocations: 27.83 kB / 373.1 MB, free: 7.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.01109, allocations: 0.9817 MB / 374.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.01125, allocations: 75.64 kB / 374.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.01129, allocations: 8.172 kB / 374.2 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.01147, allocations: 43.83 kB / 374.2 MB, free: 5.934 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.01157, allocations: 47.88 kB / 374.3 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.01159, allocations: 0 / 374.3 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.01523, allocations: 1.909 MB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-05/0.01531, allocations: 43.86 kB / 376.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.01537, allocations: 27.86 kB / 376.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.01806, allocations: 1.539 MB / 377.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01806, allocations: 0 / 377.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01806, allocations: 0 / 377.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.01807, allocations: 0 / 377.8 MB, free: 2.359 MB / 346.7 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.001043/0.01911, allocations: 0.6481 MB / 378.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.01916, allocations: 11.98 kB / 378.4 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.01923, allocations: 20.8 kB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.01946, allocations: 152.3 kB / 378.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.01947, allocations: 4.312 kB / 378.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.01948, allocations: 3.938 kB / 378.6 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.01969, allocations: 121.3 kB / 378.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.0197, allocations: 3.984 kB / 378.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.01971, allocations: 0 / 378.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.01972, allocations: 0 / 378.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.01983, allocations: 82.02 kB / 378.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.02004, allocations: 157.1 kB / 379 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.0202, allocations: 113 kB / 379.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.02031, allocations: 93.72 kB / 379.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.02033, allocations: 3.938 kB / 379.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.02036, allocations: 33.39 kB / 379.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.062e-06/0.02036, allocations: 0 / 379.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.00064/0.021, allocations: 446.5 kB / 379.7 MB, free: 312 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.02108, allocations: 97.09 kB / 379.7 MB, free: 196 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.02131, allocations: 229.9 kB / 380 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.02133, allocations: 25.7 kB / 380 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.02144, allocations: 155.6 kB / 380.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.02159, allocations: 142.8 kB / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.02167, allocations: 51.3 kB / 380.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000307/0.02198, allocations: 0.5118 MB / 380.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.02209, allocations: 81.69 kB / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.02219, allocations: 82.66 kB / 381 MB, free: 14.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.02245, allocations: 211.2 kB / 381.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.02245, allocations: 0 / 381.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004051/0.02286, allocations: 308.8 kB / 381.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.066e-05/0.02295, allocations: 77.58 kB / 381.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.02295, allocations: 4.062 kB / 381.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.02297, allocations: 3.984 kB / 381.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.02297, allocations: 4 kB / 381.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.02297, allocations: 3.938 kB / 381.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.02306, allocations: 23.78 kB / 381.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.02309, allocations: 8 kB / 381.6 MB, free: 14.2 MB / 362.7 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.0002212/0.02331, allocations: 242.2 kB / 381.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.02338, allocations: 43.8 kB / 381.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.0234, allocations: 6.656 kB / 381.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.0234, allocations: 4 kB / 381.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.0234, allocations: 4 kB / 381.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.02341, allocations: 0 / 381.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.02359, allocations: 164.4 kB / 382.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.02359, allocations: 3.984 kB / 382.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.02359, allocations: 0 / 382.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.0236, allocations: 3.938 kB / 382.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.02362, allocations: 8 kB / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.02362, allocations: 4 kB / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02362, allocations: 0 / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000682/0.02431, allocations: 479.5 kB / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.02434, allocations: 27.73 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.02438, allocations: 15.91 kB / 382.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.02443, allocations: 8 kB / 382.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.02446, allocations: 8 kB / 382.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.02449, allocations: 11.98 kB / 382.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.02462, allocations: 160.2 kB / 382.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02462, allocations: 4 kB / 382.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00101/0.02563, allocations: 351.4 kB / 383.2 MB, free: 12.59 MB / 362.7 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.001165/0.0268, allocations: 427.4 kB / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.0274, allocations: 450.3 kB / 384 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.02741, allocations: 4 kB / 384 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.02778, allocations: 312.7 kB / 384.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.02799, allocations: 15.5 kB / 384.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000863/0.02885, allocations: 0.5433 MB / 384.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.029, allocations: 143.1 kB / 385 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.126e-05/0.02901, allocations: 0 / 385 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.02903, allocations: 8.5 kB / 385 MB, free: 10.62 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02903, allocations: 0 / 385 MB, free: 10.62 MB / 362.7 MB [CodegenCFunctions.tpl:5886:13-5886: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.5857150319498032]