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.00254/0.00254, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002772/0.002772, 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.591/1.591, allocations: 177.2 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.305/0.305, allocations: 29.4 MB / 290.5 MB, free: 2.426 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_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.854e-06/1.854e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.134e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.004053/0.004084, allocations: 2.23 MB / 371.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.007931, allocations: 1.957 MB / 373.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.007991, allocations: 0 / 373.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.008133, allocations: 11.92 kB / 373.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.008235, allocations: 27.83 kB / 373.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.01125, allocations: 0.9778 MB / 374.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.01139, allocations: 71.64 kB / 374.2 MB, free: 6.008 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.01143, allocations: 8.188 kB / 374.2 MB, free: 6 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.0116, allocations: 51.81 kB / 374.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.0117, allocations: 35.89 kB / 374.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.01171, allocations: 0 / 374.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.01558, allocations: 1.898 MB / 376.2 MB, free: 4.012 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.01565, allocations: 23.92 kB / 376.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.01569, allocations: 15.92 kB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.01823, allocations: 1.488 MB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/0.01824, allocations: 4 kB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01824, allocations: 0 / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.01825, 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008866/0.01914, allocations: 0.5472 MB / 378.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.01918, allocations: 15.98 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.01925, allocations: 8.891 kB / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.01946, allocations: 136.4 kB / 378.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.01948, allocations: 3.938 kB / 378.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.01949, allocations: 4 kB / 378.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.01967, allocations: 82.44 kB / 378.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.01968, allocations: 4 kB / 378.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.0197, allocations: 4 kB / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.0197, allocations: 0 / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.01977, allocations: 45.69 kB / 378.5 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.01995, allocations: 132.5 kB / 378.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.02006, allocations: 68.7 kB / 378.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/0.02014, allocations: 57.41 kB / 378.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.02015, allocations: 0 / 378.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.02019, allocations: 37.39 kB / 378.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 7.71e-07/0.02019, allocations: 0 / 378.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003567/0.02054, allocations: 214.6 kB / 379 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.02062, allocations: 81.11 kB / 379.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.02079, allocations: 192.6 kB / 379.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.02081, allocations: 29.7 kB / 379.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.0209, allocations: 138.9 kB / 379.5 MB, free: 484 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.02096, allocations: 43.67 kB / 379.5 MB, free: 440 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.02102, allocations: 27.38 kB / 379.5 MB, free: 404 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.02129, allocations: 0.4923 MB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.02136, allocations: 49.69 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.02141, allocations: 41.92 kB / 380.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.02157, allocations: 115.1 kB / 380.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.02157, allocations: 4 kB / 380.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002174/0.02179, allocations: 164.9 kB / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.02185, allocations: 41.69 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.02185, allocations: 0 / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.02186, allocations: 0 / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.526e-06/0.02187, allocations: 3.984 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.02188, allocations: 4 kB / 380.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.02193, allocations: 7.938 kB / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.02195, allocations: 4 kB / 380.5 MB, free: 15.41 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.0001694/0.02212, allocations: 198.3 kB / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.02215, allocations: 23.92 kB / 380.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.02217, allocations: 8.766 kB / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.02217, allocations: 0 / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.02218, allocations: 0 / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.02218, allocations: 0 / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.02233, allocations: 136.5 kB / 380.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.02233, allocations: 3.984 kB / 380.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-06/0.02233, allocations: 3.938 kB / 380.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.02234, allocations: 4 kB / 380.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.02235, allocations: 0 / 380.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.02235, allocations: 0 / 380.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.02235, allocations: 8 kB / 380.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.02268, allocations: 227.2 kB / 381.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.0227, allocations: 15.83 kB / 381.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.02273, allocations: 7.969 kB / 381.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.02276, allocations: 4 kB / 381.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.02279, allocations: 8 kB / 381.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.0228, allocations: 0 / 381.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.776e-05/0.0229, allocations: 145.4 kB / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0229, allocations: 0 / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009876/0.02388, allocations: 323.4 kB / 381.6 MB, free: 14.23 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.001046/0.02493, allocations: 410.3 kB / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.02526, allocations: 210.4 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02526, allocations: 0 / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.02544, allocations: 152.7 kB / 382.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.02563, allocations: 8 kB / 382.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006446/0.02628, allocations: 291.8 kB / 382.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.02638, allocations: 87.22 kB / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.398e-05/0.0264, allocations: 4 kB / 382.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.02641, allocations: 8.5 kB / 382.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02641, allocations: 3.938 kB / 382.7 MB, free: 12.97 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.5843446910148486]