Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001337/0.001337, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.00139/0.00139, allocations: 167.9 kB / 24.5 MB, free: 3.453 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.455/1.455, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] 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.1751/0.1751, allocations: 29.43 MB / 290.7 MB, free: 3.301 MB / 270.1 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_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 67.91 kB / 431.2 MB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.368, allocations: 62.45 MB / 493.7 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002866/0.3709, allocations: 2.188 MB / 495.8 MB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.3733, allocations: 1.9 MB / 497.7 MB, free: 35.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.3734, allocations: 0 / 497.7 MB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.3735, allocations: 13.97 kB / 497.8 MB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.087e-05/0.3736, allocations: 32.72 kB / 497.8 MB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.3757, allocations: 0.9659 MB / 498.8 MB, free: 34.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3758, allocations: 68.91 kB / 498.8 MB, free: 34.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.3759, allocations: 4.172 kB / 498.8 MB, free: 34.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.376, allocations: 40.91 kB / 498.9 MB, free: 34.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.246e-05/0.3761, allocations: 48.25 kB / 498.9 MB, free: 34.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.3761, allocations: 4 kB / 498.9 MB, free: 34.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.3786, allocations: 1.89 MB / 0.4891 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.3786, allocations: 24.31 kB / 0.4891 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.3787, allocations: 21.45 kB / 0.4891 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3799, allocations: 1.33 MB / 0.4904 GB, free: 33.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3799, allocations: 0 / 0.4904 GB, free: 33.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3799, allocations: 0 / 0.4904 GB, free: 33.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3799, allocations: 7.156 kB / 0.4904 GB, free: 33.96 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005011/0.3804, allocations: 470.3 kB / 0.4909 GB, free: 33.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3804, allocations: 9.844 kB / 0.4909 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.3805, allocations: 8.016 kB / 0.4909 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3806, allocations: 130.7 kB / 0.491 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.3806, allocations: 0 / 0.491 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.3807, allocations: 0 / 0.491 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3808, allocations: 119.4 kB / 0.4911 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3808, allocations: 0 / 0.4911 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3808, allocations: 0 / 0.4911 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3808, allocations: 3.188 kB / 0.4911 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/0.3809, allocations: 87.86 kB / 0.4912 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.326e-05/0.381, allocations: 118 kB / 0.4913 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/0.3811, allocations: 95.81 kB / 0.4914 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.3811, allocations: 90.94 kB / 0.4915 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.3812, allocations: 0 / 0.4915 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.3812, allocations: 37.75 kB / 0.4915 GB, free: 32.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 8.61e-07/0.3812, allocations: 0 / 0.4915 GB, free: 32.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003027/0.3815, allocations: 297.5 kB / 0.4918 GB, free: 32.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.3815, allocations: 90.19 kB / 0.4919 GB, free: 32.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.3816, allocations: 129.1 kB / 0.492 GB, free: 32.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3816, allocations: 29.73 kB / 0.4921 GB, free: 32.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.3816, allocations: 91.36 kB / 0.4921 GB, free: 32.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.3817, allocations: 48.95 kB / 0.4922 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.3817, allocations: 20.22 kB / 0.4922 GB, free: 32.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.3818, allocations: 325.4 kB / 0.4925 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.3818, allocations: 79.23 kB / 0.4926 GB, free: 32.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.3819, allocations: 80.52 kB / 0.4927 GB, free: 32.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.382, allocations: 191.3 kB / 0.4929 GB, free: 31.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.382, allocations: 0 / 0.4929 GB, free: 31.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001695/0.3822, allocations: 215 kB / 0.4931 GB, free: 31.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.3822, allocations: 47.27 kB / 0.4931 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3822, allocations: 7.094 kB / 0.4931 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3822, allocations: 3.328 kB / 0.4931 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.3822, allocations: 4 kB / 0.4931 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.3822, allocations: 0 / 0.4931 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.3823, allocations: 6.922 kB / 0.4931 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3823, allocations: 6.812 kB / 0.4931 GB, free: 31.79 MB / 446.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 8.322e-05/0.3824, allocations: 171.5 kB / 0.4933 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.3824, allocations: 10.3 kB / 0.4933 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.375e-05/0.3824, allocations: 7.594 kB / 0.4933 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3824, allocations: 0 / 0.4933 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3824, allocations: 4 kB / 0.4933 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.3824, allocations: 0 / 0.4933 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.737e-05/0.3825, allocations: 125 kB / 0.4934 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.3825, allocations: 3.938 kB / 0.4934 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3825, allocations: 0 / 0.4934 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3825, allocations: 3.938 kB / 0.4934 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3825, allocations: 7.344 kB / 0.4934 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3825, allocations: 0 / 0.4934 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3825, allocations: 0 / 0.4934 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.3828, allocations: 332.9 kB / 0.4938 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.3828, allocations: 7.109 kB / 0.4938 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3828, allocations: 7.344 kB / 0.4938 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.697e-05/0.3828, allocations: 0 / 0.4938 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.3828, allocations: 7.094 kB / 0.4938 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3828, allocations: 2.844 kB / 0.4938 GB, free: 31.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.3829, allocations: 103.8 kB / 0.4939 GB, free: 31.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3829, allocations: 0 / 0.4939 GB, free: 31.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006399/0.3835, allocations: 326.8 kB / 0.4942 GB, free: 31.17 MB / 446.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.0007119/0.3842, allocations: 377.7 kB / 0.4946 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.3845, allocations: 313.7 kB / 0.4949 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3845, allocations: 2.906 kB / 0.4949 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.3846, allocations: 188.3 kB / 0.495 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.3849, allocations: 13.91 kB / 0.4951 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.3853, allocations: 357 kB / 0.4954 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.457e-05/0.3853, allocations: 97.8 kB / 0.4955 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.065e-05/0.3853, allocations: 0 / 0.4955 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.3853, allocations: 8.5 kB / 0.4955 GB, free: 30.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3853, allocations: 0 / 0.4955 GB, free: 30.44 MB / 446.1 MB [CodegenCFunctions.tpl:5678:13-5678: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.9412576879840344] Failed to read output from testmodel.py, exit status != 0: 0.4033903640229255 0.41541768799999995 0.03275285 Calling exit ...