Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001321/0.001321, allocations: 72.22 kB / 21.24 MB, free: 412 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.001436/0.001436, allocations: 167.4 kB / 24.5 MB, free: 3.461 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.547/1.547, allocations: 177.2 MB / 204.9 MB, free: 8.941 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.169/0.169, allocations: 29.43 MB / 290.7 MB, free: 3.301 MB / 270.1 MB " [Timeout remaining time 179] 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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_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.002171/0.002171, allocations: 59.91 kB / 431.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.387, allocations: 62.45 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003201/0.3902, allocations: 2.185 MB / 495.8 MB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.3928, allocations: 1.899 MB / 497.7 MB, free: 35.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.3928, allocations: 0 / 497.7 MB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.393, allocations: 10.61 kB / 497.7 MB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.393, allocations: 36.97 kB / 497.8 MB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.3952, allocations: 0.9634 MB / 498.7 MB, free: 34.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.3953, allocations: 76.59 kB / 498.8 MB, free: 34.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.3954, allocations: 7.359 kB / 498.8 MB, free: 34.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3955, allocations: 41.67 kB / 498.9 MB, free: 34.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.3956, allocations: 45.34 kB / 498.9 MB, free: 34.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3956, allocations: 3.094 kB / 498.9 MB, free: 34.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.398, allocations: 1.893 MB / 0.4891 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.3981, allocations: 34.97 kB / 0.4891 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.3981, allocations: 29.34 kB / 0.4891 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.3995, allocations: 1.359 MB / 0.4905 GB, free: 33.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3995, allocations: 0 / 0.4905 GB, free: 33.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3995, allocations: 0 / 0.4905 GB, free: 33.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.3995, allocations: 4 kB / 0.4905 GB, free: 33.95 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.0005103/0.4, allocations: 0.494 MB / 0.4909 GB, free: 33.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4001, allocations: 16.92 kB / 0.491 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.4001, allocations: 19.22 kB / 0.491 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.4003, allocations: 152.5 kB / 0.4911 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4003, allocations: 0 / 0.4911 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.4003, allocations: 0 / 0.4911 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4005, allocations: 163.9 kB / 0.4913 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4005, allocations: 0 / 0.4913 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4005, allocations: 0 / 0.4913 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4005, allocations: 4 kB / 0.4913 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.4006, allocations: 139.6 kB / 0.4914 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.4007, allocations: 129.2 kB / 0.4915 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.4008, allocations: 145.3 kB / 0.4917 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.279e-05/0.4009, allocations: 139.3 kB / 0.4918 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.4009, allocations: 0 / 0.4918 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.4009, allocations: 34.5 kB / 0.4918 GB, free: 32.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 8.82e-07/0.4009, allocations: 0 / 0.4918 GB, free: 32.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004686/0.4014, allocations: 495.1 kB / 0.4923 GB, free: 32.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.4015, allocations: 96.62 kB / 0.4924 GB, free: 32.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.4015, allocations: 150.9 kB / 0.4926 GB, free: 32.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.4016, allocations: 33.73 kB / 0.4926 GB, free: 32.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.4016, allocations: 99.3 kB / 0.4927 GB, free: 32.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.4016, allocations: 75.64 kB / 0.4928 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.4017, allocations: 26.78 kB / 0.4928 GB, free: 32.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.4017, allocations: 328.8 kB / 0.4931 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.4018, allocations: 131.9 kB / 0.4932 GB, free: 31.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.4019, allocations: 131.1 kB / 0.4933 GB, free: 31.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.4021, allocations: 305.1 kB / 0.4936 GB, free: 31.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4021, allocations: 0 / 0.4936 GB, free: 31.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002927/0.4024, allocations: 332 kB / 0.4939 GB, free: 31.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.4025, allocations: 68.58 kB / 0.494 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4025, allocations: 2.969 kB / 0.494 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4025, allocations: 0 / 0.494 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.4025, allocations: 0 / 0.494 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4025, allocations: 0 / 0.494 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.4026, allocations: 14.3 kB / 0.494 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.4026, allocations: 6.688 kB / 0.494 GB, free: 31.51 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.0001106/0.4027, allocations: 199.1 kB / 0.4942 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4027, allocations: 17.38 kB / 0.4942 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.437e-05/0.4027, allocations: 11.97 kB / 0.4943 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4027, allocations: 4 kB / 0.4943 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4027, allocations: 0 / 0.4943 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.4027, allocations: 0 / 0.4943 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.766e-05/0.4028, allocations: 142.4 kB / 0.4944 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4028, allocations: 0 / 0.4944 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4028, allocations: 0 / 0.4944 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.4028, allocations: 0 / 0.4944 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.4028, allocations: 10.09 kB / 0.4944 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4028, allocations: 0 / 0.4944 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4028, allocations: 3.984 kB / 0.4944 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.4033, allocations: 0.534 MB / 0.4949 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.4033, allocations: 26.06 kB / 0.495 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.4034, allocations: 3.219 kB / 0.495 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.4034, allocations: 3.219 kB / 0.495 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.4034, allocations: 3.156 kB / 0.495 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.4034, allocations: 9.609 kB / 0.495 GB, free: 30.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.269e-05/0.4035, allocations: 119.4 kB / 0.4951 GB, free: 30.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4035, allocations: 0 / 0.4951 GB, free: 30.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006779/0.4042, allocations: 335.7 kB / 0.4954 GB, free: 30.81 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.0007261/0.4049, allocations: 379.9 kB / 0.4958 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004416/0.4053, allocations: 0.5126 MB / 0.4963 GB, free: 30.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4053, allocations: 0 / 0.4963 GB, free: 30.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.4056, allocations: 299 kB / 0.4966 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.4058, allocations: 22.36 kB / 0.4966 GB, free: 30.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.4064, allocations: 0.5266 MB / 0.4971 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.445e-05/0.4065, allocations: 120.9 kB / 0.4972 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.122e-05/0.4065, allocations: 0 / 0.4972 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.171e-05/0.4065, allocations: 11.66 kB / 0.4972 GB, free: 29.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4065, allocations: 0 / 0.4972 GB, free: 29.96 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.070818083942868] Failed to read output from testmodel.py, exit status != 0: 0.42586001800373197 0.437774331 0.035666484000000005 Calling exit ...