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.001031/0.001031, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001004/0.001004, allocations: 161 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.9391/0.9391, allocations: 177.1 MB / 205 MB, free: 5.285 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.2178/0.2178, allocations: 29.42 MB / 290.9 MB, free: 2.469 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.423e-06/1.423e-06, allocations: 0 / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.416e-05, allocations: 2.312 kB / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002372/0.002386, allocations: 2.318 MB / 372 MB, free: 8.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.004563, allocations: 1.969 MB / 374 MB, free: 6.672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.004614, allocations: 3.938 kB / 374 MB, free: 6.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.004743, allocations: 7.922 kB / 374 MB, free: 6.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.984e-05/0.004843, allocations: 47.69 kB / 374 MB, free: 6.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.007159, allocations: 0.9545 MB / 375 MB, free: 5.656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.007325, allocations: 99.55 kB / 375.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.007368, allocations: 0 / 375.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.00755, allocations: 59.8 kB / 375.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.007642, allocations: 55.86 kB / 375.2 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.007656, allocations: 0 / 375.2 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.009934, allocations: 1.851 MB / 377 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.707e-05/0.01001, allocations: 39.84 kB / 377.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.01007, allocations: 27.92 kB / 377.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.01193, allocations: 1.48 MB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.01193, allocations: 0 / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.01193, allocations: 0 / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.01194, allocations: 0 / 378.6 MB, free: 2.039 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.0006997/0.01264, allocations: 0.5747 MB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01268, allocations: 8.031 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.01275, allocations: 12.84 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.01291, allocations: 144.4 kB / 379.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.01292, allocations: 8.312 kB / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.01293, allocations: 384 / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.01306, allocations: 83.5 kB / 379.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.01306, allocations: 0 / 379.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.01307, allocations: 0 / 379.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.01308, allocations: 0 / 379.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.877e-05/0.01312, allocations: 53.69 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.01323, allocations: 136.5 kB / 379.6 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.767e-05/0.0133, allocations: 80.69 kB / 379.7 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.01334, allocations: 57.42 kB / 379.7 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.01334, allocations: 4 kB / 379.7 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.01337, allocations: 37.38 kB / 379.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.01337, allocations: 3.984 kB / 379.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002462/0.01361, allocations: 226 kB / 380 MB, free: 456 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.01366, allocations: 89.05 kB / 380.1 MB, free: 348 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.01376, allocations: 212.2 kB / 380.3 MB, free: 120 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.01378, allocations: 25.7 kB / 380.3 MB, free: 88 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.01384, allocations: 147.1 kB / 380.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.01388, allocations: 47.59 kB / 380.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.01391, allocations: 35.34 kB / 380.5 MB, free: 15.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.01403, allocations: 0.4962 MB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-05/0.01407, allocations: 53.69 kB / 381.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.01411, allocations: 45.69 kB / 381.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.01419, allocations: 115.1 kB / 381.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01419, allocations: 0 / 381.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001307/0.01432, allocations: 165 kB / 381.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.01436, allocations: 53.61 kB / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01437, allocations: 0 / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01438, allocations: 0 / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-06/0.01438, allocations: 0 / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01439, allocations: 8 kB / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.01443, allocations: 7.938 kB / 381.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.01445, allocations: 4 kB / 381.5 MB, free: 14.84 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.946e-05/0.01454, allocations: 206.2 kB / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.01455, allocations: 19.91 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.541e-05/0.01457, allocations: 8.719 kB / 381.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01457, allocations: 4 kB / 381.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01458, allocations: 4 kB / 381.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.01458, allocations: 0 / 381.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.775e-05/0.01466, allocations: 140.6 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01466, allocations: 4 kB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-06/0.01466, allocations: 0 / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01466, allocations: 0 / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01467, allocations: 7.984 kB / 381.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01468, allocations: 3.938 kB / 381.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01468, allocations: 0 / 381.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.01487, allocations: 247.1 kB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.01488, allocations: 15.84 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.0149, allocations: 7.938 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.373e-05/0.01492, allocations: 7.938 kB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.01493, allocations: 3.938 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01494, allocations: 12.03 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.425e-05/0.015, allocations: 153.6 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.015, allocations: 0 / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007175/0.01572, allocations: 327.3 kB / 382.6 MB, free: 13.61 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.0007315/0.01645, allocations: 402.5 kB / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.01665, allocations: 217.9 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01665, allocations: 4.062 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.01672, allocations: 148.8 kB / 383.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.0169, allocations: 12 kB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.01747, allocations: 343.2 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.56e-05/0.01752, allocations: 87.31 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.913e-05/0.01754, allocations: 0 / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.01755, allocations: 12.5 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01755, allocations: 0 / 383.8 MB, free: 12.3 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.859768470749259]