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.002526/0.002526, 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.002995/0.002995, allocations: 161.3 kB / 24.27 MB, free: 156 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.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3072/0.3072, allocations: 29.41 MB / 290.5 MB, free: 2.398 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_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.353e-06/1.353e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.758e-05, allocations: 6.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003887/0.003915, allocations: 2.219 MB / 371.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003565/0.00748, allocations: 1.961 MB / 373.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.007538, allocations: 0 / 373.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.007709, allocations: 11.92 kB / 373.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.639e-05/0.007806, allocations: 35.77 kB / 373.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.01048, allocations: 0.9778 MB / 374.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.01063, allocations: 75.64 kB / 374.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.01067, allocations: 8.172 kB / 374.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.01083, allocations: 39.89 kB / 374.2 MB, free: 5.934 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.01092, allocations: 39.89 kB / 374.3 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.01094, allocations: 0 / 374.3 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003941/0.01488, allocations: 1.902 MB / 376.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.01495, allocations: 15.92 kB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.01501, allocations: 7.938 kB / 376.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.01746, allocations: 1.48 MB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.01746, allocations: 3.984 kB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01746, allocations: 0 / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.01747, allocations: 0 / 377.7 MB, free: 2.477 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000745/0.01821, allocations: 0.5356 MB / 378.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.01826, allocations: 15.98 kB / 378.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.01834, allocations: 8.891 kB / 378.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.01855, allocations: 136.4 kB / 378.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.01856, allocations: 3.938 kB / 378.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.01857, allocations: 0 / 378.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.01871, allocations: 71.39 kB / 378.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.01872, allocations: 0 / 378.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.01873, allocations: 0 / 378.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.01874, allocations: 0 / 378.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.0188, allocations: 41.69 kB / 378.5 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.01897, allocations: 132.6 kB / 378.6 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.01908, allocations: 68.64 kB / 378.7 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/0.01915, allocations: 53.41 kB / 378.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.01915, allocations: 0 / 378.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.01919, allocations: 33.39 kB / 378.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.01919, allocations: 0 / 378.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003385/0.01953, allocations: 174.8 kB / 378.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.01961, allocations: 89.09 kB / 379 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.01977, allocations: 185.7 kB / 379.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.0198, allocations: 29.69 kB / 379.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.0199, allocations: 142.9 kB / 379.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.01995, allocations: 27.75 kB / 379.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.02001, allocations: 27.36 kB / 379.4 MB, free: 500 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003297/0.02034, allocations: 0.4884 MB / 379.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.0204, allocations: 41.69 kB / 379.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.02044, allocations: 41.69 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.02056, allocations: 99.38 kB / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.02057, allocations: 0 / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001834/0.02075, allocations: 136.9 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.02081, allocations: 49.61 kB / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.02081, allocations: 64 / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.02083, allocations: 4 kB / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.02083, allocations: 0 / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.02083, allocations: 0 / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.02087, allocations: 4 kB / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.02089, allocations: 0 / 380.3 MB, free: 15.57 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.0001611/0.02105, allocations: 198.3 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.02108, allocations: 15.89 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.0211, allocations: 8.422 kB / 380.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.0211, allocations: 0 / 380.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.0211, allocations: 0 / 380.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.02111, allocations: 4 kB / 380.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.02125, allocations: 132.6 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.02125, allocations: 4 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-06/0.02126, allocations: 3.938 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.02126, allocations: 0 / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.02127, allocations: 4 kB / 380.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.02127, allocations: 0 / 380.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.02127, allocations: 0 / 380.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.02154, allocations: 195.7 kB / 380.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.02155, allocations: 7.891 kB / 380.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.02157, allocations: 4 kB / 380.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.0216, allocations: 4.031 kB / 380.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.02162, allocations: 4 kB / 380.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.02164, allocations: 7.984 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.52e-05/0.02173, allocations: 135.2 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02173, allocations: 0 / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008223/0.02255, allocations: 319.3 kB / 381.3 MB, free: 14.45 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.001064/0.02362, allocations: 421.8 kB / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.02389, allocations: 174.5 kB / 381.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02389, allocations: 0 / 381.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.02403, allocations: 128.7 kB / 382 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.02425, allocations: 19.25 kB / 382 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.02475, allocations: 239.3 kB / 382.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.154e-05/0.02484, allocations: 79.45 kB / 382.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.425e-05/0.02485, allocations: 4 kB / 382.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.02487, allocations: 8.5 kB / 382.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02487, allocations: 0 / 382.4 MB, free: 13.3 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.5644401781028137]