Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.0009821/0.0009821, allocations: 83.58 kB / 21.19 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.001062/0.001062, 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.9357/0.9357, allocations: 177.1 MB / 205 MB, free: 5.633 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.2418/0.2418, allocations: 29.42 MB / 290.9 MB, free: 2.496 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.546e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002619/0.002634, allocations: 2.331 MB / 372 MB, free: 8.641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.00404, allocations: 1.064 MB / 373 MB, free: 7.574 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.004081, allocations: 0 / 373 MB, free: 7.574 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.844e-05/0.004179, allocations: 19.84 kB / 373.1 MB, free: 7.555 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.004269, allocations: 47.73 kB / 373.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.00503, allocations: 338.8 kB / 373.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.00515, allocations: 119.5 kB / 373.6 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.024e-05/0.00518, allocations: 7.984 kB / 373.6 MB, free: 7.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.005299, allocations: 71.8 kB / 373.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.005377, allocations: 63.84 kB / 373.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.005385, allocations: 3.938 kB / 373.7 MB, free: 6.914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.00593, allocations: 0.5649 MB / 374.3 MB, free: 6.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.005977, allocations: 39.91 kB / 374.3 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.006011, allocations: 27.88 kB / 374.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.006502, allocations: 0.5571 MB / 374.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.006504, allocations: 0 / 374.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006504, allocations: 0 / 374.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.006508, allocations: 0 / 374.9 MB, free: 5.723 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003201/0.006828, allocations: 0.4935 MB / 375.4 MB, free: 5.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.006855, allocations: 12.03 kB / 375.4 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.006887, allocations: 12.84 kB / 375.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.007004, allocations: 128.5 kB / 375.5 MB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.007013, allocations: 4.375 kB / 375.5 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.007024, allocations: 4.375 kB / 375.5 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.00714, allocations: 110.7 kB / 375.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.007147, allocations: 3.938 kB / 375.7 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.007155, allocations: 4 kB / 375.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.00716, allocations: 0 / 375.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.007206, allocations: 61.69 kB / 375.7 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.007307, allocations: 136.5 kB / 375.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.007376, allocations: 88.75 kB / 375.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.007425, allocations: 77.39 kB / 376 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-06/0.007429, allocations: 0 / 376 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.007448, allocations: 33.39 kB / 376 MB, free: 4.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 6.72e-07/0.007448, allocations: 7.938 kB / 376.1 MB, free: 4.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002625/0.007711, allocations: 282.9 kB / 376.3 MB, free: 4.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.007762, allocations: 93.09 kB / 376.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.007878, allocations: 188.9 kB / 376.6 MB, free: 3.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.007892, allocations: 29.7 kB / 376.6 MB, free: 3.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.007943, allocations: 147.2 kB / 376.8 MB, free: 3.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.007987, allocations: 59.44 kB / 376.8 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.008023, allocations: 39.36 kB / 376.9 MB, free: 3.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.008131, allocations: 0.4923 MB / 377.4 MB, free: 3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.008179, allocations: 65.62 kB / 377.4 MB, free: 2.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.301e-05/0.008222, allocations: 69.62 kB / 377.5 MB, free: 2.855 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.008325, allocations: 156.5 kB / 377.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008326, allocations: 0 / 377.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001364/0.008462, allocations: 203.4 kB / 377.9 MB, free: 2.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.008497, allocations: 57.67 kB / 377.9 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.0085, allocations: 64 / 377.9 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.008511, allocations: 7.938 kB / 377.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.008513, allocations: 0 / 377.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.008516, allocations: 0 / 377.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.008551, allocations: 11.89 kB / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.008566, allocations: 8 kB / 377.9 MB, free: 2.383 MB / 346.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.006e-05/0.008646, allocations: 214.2 kB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.008661, allocations: 15.95 kB / 378.2 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.383e-05/0.008675, allocations: 17.11 kB / 378.2 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008678, allocations: 3.938 kB / 378.2 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.008681, allocations: 0 / 378.2 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.008682, allocations: 4 kB / 378.2 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.884e-05/0.008751, allocations: 144.5 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.008753, allocations: 4 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-07/0.008753, allocations: 0 / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-07/0.008754, allocations: 0 / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.008763, allocations: 4 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008764, allocations: 4 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.008767, allocations: 7.922 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.008985, allocations: 315.6 kB / 378.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.008995, allocations: 11.89 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.009008, allocations: 4.031 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.009028, allocations: 8 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.009043, allocations: 11.92 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.009051, allocations: 8 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.365e-05/0.009095, allocations: 143.1 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009095, allocations: 0 / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.009362, allocations: 135.8 kB / 379 MB, free: 1.262 MB / 346.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.0002733/0.009635, allocations: 198.8 kB / 379.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.009848, allocations: 297.3 kB / 379.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.009849, allocations: 0 / 379.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.009951, allocations: 188.7 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.0101, allocations: 16 kB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.01044, allocations: 368.1 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.01048, allocations: 79.31 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.062e-05/0.01049, allocations: 4.125 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.0105, allocations: 12.5 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0105, allocations: 0 / 380.1 MB, free: 4 kB / 346.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.8151901639066637]