Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001883/0.001883, allocations: 82.34 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002462/0.002462, allocations: 164.5 kB / 23.96 MB, free: 4.164 MB / 14.72 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.495/1.495, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1761/0.1761, allocations: 29.44 MB / 290.1 MB, free: 3.289 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.465e-05, allocations: 6.219 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003912/0.003947, allocations: 2.195 MB / 432.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00357/0.007516, allocations: 1.914 MB / 434.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.007572, allocations: 0 / 434.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.007714, allocations: 7.922 kB / 434.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.007819, allocations: 27.83 kB / 434.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.01078, allocations: 0.977 MB / 435.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.01095, allocations: 83.62 kB / 435.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.011, allocations: 8.172 kB / 435.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.01118, allocations: 39.89 kB / 436 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.01128, allocations: 47.88 kB / 436 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.01129, allocations: 0 / 436 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.01483, allocations: 1.909 MB / 437.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.01491, allocations: 43.84 kB / 438 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.01497, allocations: 35.84 kB / 438 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.01783, allocations: 1.531 MB / 439.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01783, allocations: 0 / 439.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01783, allocations: 0 / 439.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.01784, allocations: 0 / 439.5 MB, free: 9.078 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001078/0.01892, allocations: 0.5368 MB / 440.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.01896, allocations: 15.98 kB / 440.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.01902, allocations: 16.8 kB / 440.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.01924, allocations: 157.9 kB / 440.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.01926, allocations: 4.375 kB / 440.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.01928, allocations: 3.938 kB / 440.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.01962, allocations: 228.3 kB / 440.5 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.01963, allocations: 3.938 kB / 440.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.01964, allocations: 4 kB / 440.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.01965, allocations: 0 / 440.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.0199, allocations: 189.9 kB / 440.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.02009, allocations: 141.7 kB / 440.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.02036, allocations: 208.5 kB / 441 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.02058, allocations: 198.8 kB / 441.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.02059, allocations: 3.938 kB / 441.2 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.02062, allocations: 34.56 kB / 441.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.313e-06/0.02062, allocations: 0 / 441.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009814/0.0216, allocations: 0.7013 MB / 442 MB, free: 6.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.02169, allocations: 109.1 kB / 442.1 MB, free: 6.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.02188, allocations: 174.3 kB / 442.2 MB, free: 6.184 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.02191, allocations: 25.7 kB / 442.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.02198, allocations: 104.8 kB / 442.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.02211, allocations: 134.8 kB / 442.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.02218, allocations: 33.7 kB / 442.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.02235, allocations: 338.8 kB / 442.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.02258, allocations: 189.6 kB / 443 MB, free: 5.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.02278, allocations: 189.6 kB / 443.2 MB, free: 5.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.02329, allocations: 449.2 kB / 443.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02329, allocations: 0 / 443.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005959/0.02389, allocations: 472.6 kB / 444.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/0.02398, allocations: 81.62 kB / 444.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.02399, allocations: 0 / 444.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.02401, allocations: 0 / 444.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.02401, allocations: 0 / 444.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.02401, allocations: 4 kB / 444.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.0241, allocations: 23.91 kB / 444.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.02413, allocations: 12 kB / 444.3 MB, free: 4.094 MB / 366.1 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.0002579/0.02439, allocations: 235.4 kB / 444.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.02444, allocations: 31.73 kB / 444.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.02446, allocations: 14.64 kB / 444.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.02446, allocations: 0 / 444.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.02447, allocations: 0 / 444.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.02447, allocations: 4 kB / 444.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.02464, allocations: 153.1 kB / 444.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.02464, allocations: 0 / 444.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.02464, allocations: 4 kB / 444.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.02465, allocations: 3.938 kB / 444.7 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.02467, allocations: 8 kB / 444.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.02467, allocations: 0 / 444.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02467, allocations: 3.938 kB / 444.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.02579, allocations: 0.7733 MB / 445.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.02582, allocations: 23.8 kB / 445.5 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.02586, allocations: 15.92 kB / 445.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.02593, allocations: 12 kB / 445.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.02596, allocations: 4 kB / 445.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.02599, allocations: 11.98 kB / 445.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.02612, allocations: 128.3 kB / 445.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02612, allocations: 0 / 445.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001204/0.02732, allocations: 359.3 kB / 446 MB, free: 2.25 MB / 366.1 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.001459/0.02878, allocations: 416.8 kB / 446.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009979/0.02978, allocations: 0.7523 MB / 447.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.02978, allocations: 64 / 447.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.03029, allocations: 440.8 kB / 447.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.03054, allocations: 19.27 kB / 447.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1698/0.2003, allocations: 0.748 MB / 448.4 MB, free: 29.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2004, allocations: 141.9 kB / 448.5 MB, free: 29.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.828e-05/0.2005, allocations: 1.766 kB / 448.5 MB, free: 29.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.2005, allocations: 9.5 kB / 448.5 MB, free: 29.81 MB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.2005, allocations: 3.5 kB / 448.5 MB, free: 29.81 MB / 366.1 MB [CodegenCFunctions.tpl:5727:13-5727: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.760728642344475] Failed to read output from testmodel.py, exit status != 0: 0.2251063995063305 0.23646539499999994 0.21601518799999994 Calling exit ...