Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001015/0.001015, 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.001195/0.001195, 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 1.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.629 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.2293/0.2293, allocations: 29.41 MB / 290.9 MB, free: 2.492 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_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.385e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002263/0.002277, allocations: 2.268 MB / 371.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.004534, allocations: 1.965 MB / 373.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.004579, allocations: 0 / 373.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.004715, allocations: 19.89 kB / 373.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.004778, allocations: 27.72 kB / 373.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.006941, allocations: 0.9818 MB / 374.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.007077, allocations: 75.62 kB / 375 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.007122, allocations: 4.188 kB / 375 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.007259, allocations: 47.88 kB / 375 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.007341, allocations: 35.88 kB / 375.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.007355, allocations: 4 kB / 375.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.009691, allocations: 1.894 MB / 377 MB, free: 3.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.009736, allocations: 19.94 kB / 377 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.009773, allocations: 19.91 kB / 377 MB, free: 3.594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.01145, allocations: 1.473 MB / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01145, allocations: 0 / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01145, allocations: 0 / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.01146, allocations: 0 / 378.5 MB, free: 2.117 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005912/0.01205, allocations: 0.5282 MB / 379 MB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.01209, allocations: 11.98 kB / 379 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.01214, allocations: 8.891 kB / 379 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.01228, allocations: 136.4 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.01229, allocations: 11.94 kB / 379.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.0123, allocations: 0 / 379.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.01242, allocations: 71.38 kB / 379.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01243, allocations: 0 / 379.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.01244, allocations: 7.984 kB / 379.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.01245, allocations: 0 / 379.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.01248, allocations: 37.7 kB / 379.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.01259, allocations: 124.6 kB / 379.4 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.01265, allocations: 76.62 kB / 379.5 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.01268, allocations: 45.42 kB / 379.5 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-06/0.01268, allocations: 4 kB / 379.5 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.0127, allocations: 37.38 kB / 379.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.0127, allocations: 0 / 379.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002062/0.01291, allocations: 174.7 kB / 379.7 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.01295, allocations: 85.11 kB / 379.8 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.01304, allocations: 189.7 kB / 380 MB, free: 380 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.01305, allocations: 25.7 kB / 380 MB, free: 348 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.01309, allocations: 134.9 kB / 380.2 MB, free: 208 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.01312, allocations: 31.73 kB / 380.2 MB, free: 176 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.01315, allocations: 27.31 kB / 380.2 MB, free: 140 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.01329, allocations: 0.4923 MB / 380.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.01332, allocations: 41.73 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.01334, allocations: 41.69 kB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.911e-05/0.01341, allocations: 99.38 kB / 380.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01341, allocations: 0 / 380.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001018/0.01352, allocations: 141.1 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.01355, allocations: 44.19 kB / 381.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01355, allocations: 3.938 kB / 381.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01357, allocations: 0 / 381.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.549e-06/0.01357, allocations: 4 kB / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.01358, allocations: 0 / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.01361, allocations: 64 / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.01362, allocations: 8 kB / 381.1 MB, free: 15.21 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.031e-05/0.01371, allocations: 198.2 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.01372, allocations: 15.89 kB / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.01374, allocations: 16.44 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01374, allocations: 0 / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01374, allocations: 0 / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.01375, allocations: 0 / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.789e-05/0.01381, allocations: 120.6 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.01382, allocations: 0 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.01382, allocations: 3.938 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.01382, allocations: 4 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.01383, allocations: 7.984 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.01383, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01383, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.01397, allocations: 191.7 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.01398, allocations: 15.88 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.01399, allocations: 0 / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.01401, allocations: 4 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.01402, allocations: 4 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.01403, allocations: 4 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.01407, allocations: 135.2 kB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.01407, allocations: 8.031 kB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005707/0.01464, allocations: 319.3 kB / 382.1 MB, free: 14.09 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.0006758/0.01532, allocations: 408.6 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.01547, allocations: 174.5 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01548, allocations: 0 / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/0.01554, allocations: 132.8 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.01568, allocations: 10.92 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.01619, allocations: 243.2 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.01623, allocations: 63.34 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.026e-05/0.01624, allocations: 0 / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.01625, allocations: 12.5 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01625, allocations: 4.062 kB / 383.1 MB, free: 12.96 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.9520106157287955]