Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0015/0.0015, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001596/0.001596, allocations: 161.7 kB / 24.26 MB, free: 176 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.516/1.516, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.3051/0.3051, allocations: 29.41 MB / 290.5 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.429e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.004537/0.004571, allocations: 2.211 MB / 371.1 MB, free: 9.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.008156, allocations: 1.905 MB / 373 MB, free: 7.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.008215, allocations: 0 / 373 MB, free: 7.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.008368, allocations: 11.92 kB / 373 MB, free: 7.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.423e-05/0.008462, allocations: 23.84 kB / 373 MB, free: 7.105 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.01121, allocations: 0.97 MB / 374 MB, free: 6.133 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.01135, allocations: 75.62 kB / 374.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.01139, allocations: 4.188 kB / 374.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.01157, allocations: 51.81 kB / 374.1 MB, free: 6.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.01166, allocations: 39.89 kB / 374.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.01168, allocations: 0 / 374.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.01495, allocations: 1.902 MB / 376.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.01502, allocations: 35.86 kB / 376.1 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.01507, allocations: 15.94 kB / 376.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.01724, allocations: 1.512 MB / 377.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01725, allocations: 0 / 377.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01725, allocations: 4 kB / 377.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.01725, allocations: 0 / 377.6 MB, free: 2.488 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.00104/0.01829, allocations: 0.5019 MB / 378.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.01833, allocations: 11.98 kB / 378.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.0184, allocations: 12.84 kB / 378.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.01862, allocations: 145.5 kB / 378.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.01863, allocations: 384 / 378.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.01865, allocations: 3.938 kB / 378.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.0189, allocations: 169.5 kB / 378.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01891, allocations: 3.938 kB / 378.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.01893, allocations: 0 / 378.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.01893, allocations: 4 kB / 378.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.01909, allocations: 125.6 kB / 378.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.01925, allocations: 125.2 kB / 378.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.01944, allocations: 144.4 kB / 378.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.01961, allocations: 130.7 kB / 379 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.01962, allocations: 3.938 kB / 379 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.01966, allocations: 34.56 kB / 379 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 8.82e-07/0.01966, allocations: 0 / 379 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007654/0.02042, allocations: 474.3 kB / 379.5 MB, free: 472 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.02051, allocations: 97.09 kB / 379.6 MB, free: 356 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.02072, allocations: 153.4 kB / 379.8 MB, free: 192 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.02075, allocations: 29.7 kB / 379.8 MB, free: 156 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.02083, allocations: 104.6 kB / 379.9 MB, free: 48 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.02095, allocations: 79.42 kB / 380 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.02101, allocations: 25.7 kB / 380 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.02122, allocations: 326.8 kB / 380.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.02138, allocations: 133.4 kB / 380.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.02155, allocations: 129.7 kB / 380.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.02191, allocations: 298.1 kB / 380.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.02191, allocations: 0 / 380.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004312/0.02235, allocations: 326.2 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.218e-05/0.02243, allocations: 69.66 kB / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.02243, allocations: 0 / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.02245, allocations: 0 / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/0.02246, allocations: 3.984 kB / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.02247, allocations: 0 / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.02253, allocations: 11.89 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.02256, allocations: 8 kB / 381.3 MB, free: 14.6 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.0002059/0.02277, allocations: 191.5 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.02282, allocations: 27.84 kB / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.02284, allocations: 17.27 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02285, allocations: 8 kB / 381.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.02285, allocations: 0 / 381.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.02286, allocations: 0 / 381.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.02302, allocations: 129.2 kB / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.02302, allocations: 0 / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.02302, allocations: 3.938 kB / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.02302, allocations: 7.938 kB / 381.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.02304, allocations: 4 kB / 381.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.02304, allocations: 0 / 381.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.02304, allocations: 0 / 381.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/0.02379, allocations: 0.5196 MB / 382.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.02382, allocations: 23.81 kB / 382.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.02384, allocations: 4 kB / 382.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.02389, allocations: 4 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.02392, allocations: 0 / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.02393, allocations: 11.98 kB / 382.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.02404, allocations: 119.1 kB / 382.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02404, allocations: 0 / 382.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000997/0.02504, allocations: 339.3 kB / 382.7 MB, free: 13.13 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.001036/0.02607, allocations: 422.1 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.02675, allocations: 0.4946 MB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02675, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.02709, allocations: 297 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.02732, allocations: 15.98 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.02817, allocations: 0.5259 MB / 384.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.02831, allocations: 113.8 kB / 384.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.46e-05/0.02832, allocations: 4 kB / 384.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.02834, allocations: 8.5 kB / 384.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02834, allocations: 0 / 384.5 MB, free: 11.18 MB / 362.7 MB [CodegenCFunctions.tpl:5860:13-5860: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.5737562261056155]