Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001876/0.001876, 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.001955/0.001955, allocations: 168.6 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.055 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.1705/0.1705, allocations: 29.43 MB / 290.7 MB, free: 3.324 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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [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.002221/0.002221, allocations: 67.91 kB / 431.2 MB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3631, allocations: 62.44 MB / 493.6 MB, free: 37.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.004757/0.3678, allocations: 2.197 MB / 495.8 MB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.3717, allocations: 1.905 MB / 497.7 MB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.3717, allocations: 0 / 497.7 MB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.3719, allocations: 13.58 kB / 497.8 MB, free: 35.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.372, allocations: 28.91 kB / 497.8 MB, free: 35.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.3752, allocations: 0.9587 MB / 498.7 MB, free: 34.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.3754, allocations: 79.52 kB / 498.8 MB, free: 34.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.3754, allocations: 7.297 kB / 498.8 MB, free: 34.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3756, allocations: 41.45 kB / 498.9 MB, free: 34.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.3757, allocations: 47.14 kB / 498.9 MB, free: 34.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3757, allocations: 0 / 498.9 MB, free: 34.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003985/0.3797, allocations: 1.898 MB / 0.4891 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.3798, allocations: 27.45 kB / 0.4891 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.3799, allocations: 32.88 kB / 0.4891 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.382, allocations: 1.363 MB / 0.4905 GB, free: 34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.382, allocations: 0 / 0.4905 GB, free: 34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.382, allocations: 0 / 0.4905 GB, free: 34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.382, allocations: 0 / 0.4905 GB, free: 34 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007575/0.3827, allocations: 0.4902 MB / 0.4909 GB, free: 33.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3828, allocations: 9.219 kB / 0.491 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.3828, allocations: 18.91 kB / 0.491 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.383, allocations: 153.4 kB / 0.4911 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.383, allocations: 0 / 0.4911 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.383, allocations: 2.969 kB / 0.4911 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.3833, allocations: 168 kB / 0.4913 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3833, allocations: 0 / 0.4913 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3833, allocations: 0 / 0.4913 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3833, allocations: 0 / 0.4913 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3835, allocations: 134.1 kB / 0.4914 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.3836, allocations: 129.5 kB / 0.4915 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3838, allocations: 152.3 kB / 0.4917 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.384, allocations: 136.8 kB / 0.4918 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.384, allocations: 0 / 0.4918 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.384, allocations: 33.91 kB / 0.4918 GB, free: 32.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.384, allocations: 0 / 0.4918 GB, free: 32.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007767/0.3848, allocations: 494.3 kB / 0.4923 GB, free: 32.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.3848, allocations: 97.28 kB / 0.4924 GB, free: 32.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.385, allocations: 154 kB / 0.4926 GB, free: 32.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.385, allocations: 25.7 kB / 0.4926 GB, free: 32.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.385, allocations: 101.2 kB / 0.4927 GB, free: 32.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.3851, allocations: 74.89 kB / 0.4927 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.3852, allocations: 29.59 kB / 0.4928 GB, free: 32.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.3852, allocations: 328.9 kB / 0.4931 GB, free: 32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3854, allocations: 134.5 kB / 0.4932 GB, free: 31.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3855, allocations: 129.7 kB / 0.4933 GB, free: 31.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.3859, allocations: 306.3 kB / 0.4936 GB, free: 31.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3859, allocations: 0 / 0.4936 GB, free: 31.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004303/0.3863, allocations: 333.6 kB / 0.4939 GB, free: 31.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.3864, allocations: 65.33 kB / 0.494 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3864, allocations: 0 / 0.494 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3864, allocations: 0 / 0.494 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.3864, allocations: 2.812 kB / 0.494 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3864, allocations: 4.062 kB / 0.494 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.3865, allocations: 17.86 kB / 0.494 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.3865, allocations: 9.484 kB / 0.494 GB, free: 31.57 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 0.0001511/0.3867, allocations: 191 kB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3867, allocations: 20.84 kB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.3868, allocations: 14.64 kB / 0.4943 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3868, allocations: 0 / 0.4943 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3868, allocations: 0 / 0.4943 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3868, allocations: 0 / 0.4943 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.3869, allocations: 139.1 kB / 0.4944 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3869, allocations: 7.156 kB / 0.4944 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.3869, allocations: 4 kB / 0.4944 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3869, allocations: 0 / 0.4944 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3869, allocations: 6.969 kB / 0.4944 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3869, allocations: 3.125 kB / 0.4944 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3869, allocations: 0 / 0.4944 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006844/0.3876, allocations: 0.5294 MB / 0.4949 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.3876, allocations: 14.78 kB / 0.4949 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3876, allocations: 6.156 kB / 0.495 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.3877, allocations: 2.875 kB / 0.495 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.3877, allocations: 11.31 kB / 0.495 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.3878, allocations: 10.19 kB / 0.495 GB, free: 31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.441e-05/0.3878, allocations: 118.6 kB / 0.4951 GB, free: 30.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3878, allocations: 0 / 0.4951 GB, free: 30.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00115/0.389, allocations: 338.1 kB / 0.4954 GB, free: 30.87 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.001108/0.3901, allocations: 370.1 kB / 0.4958 GB, free: 30.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007273/0.3908, allocations: 0.5095 MB / 0.4963 GB, free: 30.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3908, allocations: 4.062 kB / 0.4963 GB, free: 30.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.3912, allocations: 305.8 kB / 0.4966 GB, free: 30.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3915, allocations: 13.78 kB / 0.4966 GB, free: 30.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.3924, allocations: 0.5254 MB / 0.4971 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.3925, allocations: 120.3 kB / 0.4972 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.602e-05/0.3925, allocations: 3.938 kB / 0.4972 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.3925, allocations: 12.56 kB / 0.4972 GB, free: 30.03 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3925, allocations: 0 / 0.4972 GB, free: 30.03 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: 3.4128468990093097] Failed to read output from testmodel.py, exit status != 0: 0.43522183306049556 0.44579574399999994 0.06103085800000001 Calling exit ...