Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.0009095/0.0009095, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009094/0.0009094, allocations: 161 kB / 24.56 MB, free: 20 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.9659/0.9659, allocations: 177.1 MB / 205 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 179] 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.2268/0.2268, allocations: 29.41 MB / 290.9 MB, free: 2.473 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.[0-9,]+.|r_rq.[0-9,]+.|xm_d.[0-9,]+.|xm_q.[0-9,]+.|xsig_rd.[0-9,]+.|xsig_rq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.[0-9,]+.|r_rq.[0-9,]+.|xm_d.[0-9,]+.|xm_q.[0-9,]+.|xsig_rd.[0-9,]+.|xsig_rq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.249e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.006419/0.006452, allocations: 2.322 MB / 372 MB, free: 8.672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005696/0.01215, allocations: 1.973 MB / 373.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.01222, allocations: 0 / 373.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.01236, allocations: 11.86 kB / 374 MB, free: 6.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.01246, allocations: 43.75 kB / 374 MB, free: 6.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.01457, allocations: 0.9583 MB / 375 MB, free: 5.672 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.01473, allocations: 99.55 kB / 375.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.01477, allocations: 4 kB / 375.1 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.01493, allocations: 51.88 kB / 375.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.01502, allocations: 59.8 kB / 375.2 MB, free: 5.461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.01503, allocations: 0 / 375.2 MB, free: 5.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.01779, allocations: 1.847 MB / 377 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.01787, allocations: 35.91 kB / 377 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.01793, allocations: 23.94 kB / 377.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.01983, allocations: 1.492 MB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.01983, allocations: 0 / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.01984, allocations: 0 / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.01984, allocations: 0 / 378.6 MB, free: 2.055 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006356/0.02048, allocations: 0.5708 MB / 379.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.02052, allocations: 12.03 kB / 379.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.02057, allocations: 12.84 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.02073, allocations: 140.4 kB / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.02074, allocations: 384 / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.02075, allocations: 4.375 kB / 379.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.02088, allocations: 87.5 kB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.02089, allocations: 4 kB / 379.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.0209, allocations: 0 / 379.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.02091, allocations: 0 / 379.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.02095, allocations: 49.69 kB / 379.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.02105, allocations: 140.5 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.4e-05/0.02112, allocations: 72.7 kB / 379.6 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.02117, allocations: 57.41 kB / 379.7 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.02118, allocations: 4 kB / 379.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.0212, allocations: 33.39 kB / 379.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.02121, allocations: 3.984 kB / 379.7 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002442/0.02145, allocations: 234.8 kB / 380 MB, free: 472 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.02149, allocations: 89.11 kB / 380.1 MB, free: 364 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.02159, allocations: 208.6 kB / 380.3 MB, free: 140 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.02161, allocations: 25.7 kB / 380.3 MB, free: 108 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.02167, allocations: 151.1 kB / 380.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.02171, allocations: 47.59 kB / 380.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.02175, allocations: 27.38 kB / 380.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.02188, allocations: 0.4962 MB / 381 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.02192, allocations: 45.69 kB / 381 MB, free: 15.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.02196, allocations: 53.69 kB / 381.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.02205, allocations: 118.1 kB / 381.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.02205, allocations: 4.062 kB / 381.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001417/0.02219, allocations: 168.9 kB / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.02223, allocations: 53.61 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.02224, allocations: 0 / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.02225, allocations: 0 / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-06/0.02225, allocations: 4 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.02226, allocations: 0 / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.0223, allocations: 7.938 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.02232, allocations: 4 kB / 381.5 MB, free: 14.86 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 8.988e-05/0.02241, allocations: 206.2 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.02243, allocations: 23.94 kB / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.02245, allocations: 12.72 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.02245, allocations: 0 / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.02245, allocations: 4 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.02246, allocations: 0 / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.438e-05/0.02254, allocations: 140.6 kB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.02254, allocations: 0 / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-06/0.02254, allocations: 4 kB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.02255, allocations: 0 / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.02255, allocations: 4 kB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.02256, allocations: 7.922 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.02256, allocations: 4 kB / 381.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.02277, allocations: 243.7 kB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.02279, allocations: 15.84 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.0228, allocations: 4 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.02283, allocations: 7.938 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.02285, allocations: 0 / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.02285, allocations: 4 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.078e-05/0.02291, allocations: 158 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02291, allocations: 0 / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007083/0.02362, allocations: 327.3 kB / 382.6 MB, free: 13.64 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.0007929/0.02442, allocations: 413.5 kB / 383 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.02462, allocations: 210.4 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02463, allocations: 0 / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.02472, allocations: 152.7 kB / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.02491, allocations: 16.12 kB / 383.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.02551, allocations: 335.3 kB / 383.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.398e-05/0.02556, allocations: 82.81 kB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.807e-05/0.02557, allocations: 0 / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.02559, allocations: 8.5 kB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0256, allocations: 4 kB / 383.8 MB, free: 12.33 MB / 362.7 MB [CodegenCFunctions.tpl:5910:13-5910: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.8614699831232429]