Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001033/0.001033, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000935/0.000935, allocations: 165 kB / 24.56 MB, free: 16 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 0.9565/0.9565, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2328/0.2328, allocations: 29.41 MB / 290.9 MB, free: 2.457 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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.182e-05, allocations: 5.688 kB / 369.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.006171/0.006203, allocations: 2.273 MB / 371.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005774/0.01198, allocations: 1.961 MB / 373.9 MB, free: 6.746 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.01205, allocations: 0 / 373.9 MB, free: 6.746 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.0122, allocations: 15.91 kB / 373.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.0123, allocations: 27.72 kB / 373.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005299/0.0176, allocations: 0.9779 MB / 374.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.01774, allocations: 79.62 kB / 375 MB, free: 5.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.01778, allocations: 4.188 kB / 375 MB, free: 5.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.01793, allocations: 47.83 kB / 375 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.72e-05/0.01802, allocations: 43.88 kB / 375.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.01803, allocations: 0 / 375.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005686/0.02372, allocations: 1.902 MB / 377 MB, free: 3.645 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.02378, allocations: 39.78 kB / 377 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.02382, allocations: 15.94 kB / 377 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.02565, allocations: 1.515 MB / 378.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.02565, allocations: 8 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.02566, allocations: 0 / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.02566, allocations: 0 / 378.6 MB, free: 2.062 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006766/0.02634, allocations: 0.5902 MB / 379.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.02638, allocations: 11.98 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.02643, allocations: 16.84 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.02657, allocations: 144.4 kB / 379.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.02658, allocations: 384 / 379.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.02659, allocations: 7.875 kB / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.02672, allocations: 99.38 kB / 379.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.02672, allocations: 0 / 379.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.02673, allocations: 0 / 379.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.02674, allocations: 0 / 379.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.02678, allocations: 72.19 kB / 379.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.02689, allocations: 140.5 kB / 379.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.02696, allocations: 84.75 kB / 379.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.02701, allocations: 77.34 kB / 379.8 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.02702, allocations: 3.938 kB / 379.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.02704, allocations: 33.39 kB / 379.8 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 8.02e-07/0.02704, allocations: 4 kB / 379.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002724/0.02731, allocations: 287.1 kB / 380.1 MB, free: 336 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.02736, allocations: 97.09 kB / 380.2 MB, free: 220 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.0275, allocations: 212.3 kB / 380.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.02751, allocations: 25.7 kB / 380.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.02757, allocations: 147.4 kB / 380.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.02765, allocations: 91.17 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.02769, allocations: 35.36 kB / 380.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.02784, allocations: 0.504 MB / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.0279, allocations: 65.62 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.423e-05/0.02795, allocations: 61.69 kB / 381.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.02806, allocations: 157.3 kB / 381.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.02807, allocations: 0 / 381.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001669/0.02823, allocations: 214.4 kB / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.02828, allocations: 61.66 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.02828, allocations: 0 / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.0283, allocations: 0 / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.0283, allocations: 0 / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.0283, allocations: 0 / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.02834, allocations: 15.89 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.02836, allocations: 11.98 kB / 381.8 MB, free: 14.53 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 9.561e-05/0.02846, allocations: 226.2 kB / 382 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.02848, allocations: 27.84 kB / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.481e-05/0.0285, allocations: 9.281 kB / 382 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.0285, allocations: 0 / 382 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.0285, allocations: 0 / 382 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.0285, allocations: 0 / 382 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.54e-05/0.02859, allocations: 156.4 kB / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.02859, allocations: 0 / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.02859, allocations: 3.984 kB / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.02859, allocations: 3.938 kB / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.0286, allocations: 4 kB / 382.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02861, allocations: 8 kB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02861, allocations: 0 / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.02912, allocations: 327.4 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.02913, allocations: 11.91 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.02915, allocations: 7.938 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.814e-05/0.02917, allocations: 7.984 kB / 382.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.02919, allocations: 11.94 kB / 382.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.0292, allocations: 4 kB / 382.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.892e-05/0.02926, allocations: 155.2 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02926, allocations: 0 / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008046/0.03006, allocations: 339.3 kB / 383.1 MB, free: 13.17 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.0007108/0.03077, allocations: 417.1 kB / 383.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.03104, allocations: 286.4 kB / 383.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03104, allocations: 0 / 383.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.03115, allocations: 188.7 kB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.03132, allocations: 14.66 kB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.03193, allocations: 412.2 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.03197, allocations: 79.33 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.326e-05/0.03199, allocations: 0 / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.032, allocations: 12.5 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.032, allocations: 0 / 384.4 MB, free: 11.69 MB / 362.7 MB [CodegenCFunctions.tpl:6359:13-6359: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: 1.841070719063282]