Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001264/0.001264, allocations: 74.03 kB / 21.24 MB, free: 0.5547 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.001362/0.001362, allocations: 160.3 kB / 24.5 MB, free: 3.715 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.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.1755/0.1755, allocations: 29.43 MB / 290.7 MB, free: 3.258 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_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [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.002056/0.002056, allocations: 64.19 kB / 431.2 MB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3649, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003416/0.3683, allocations: 2.179 MB / 495.8 MB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.3709, allocations: 1.909 MB / 497.7 MB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.3709, allocations: 0 / 497.7 MB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.3711, allocations: 21.88 kB / 497.8 MB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.145e-05/0.3712, allocations: 25.67 kB / 497.8 MB, free: 35.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.3737, allocations: 0.961 MB / 498.7 MB, free: 34.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3738, allocations: 73.03 kB / 498.8 MB, free: 34.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.3739, allocations: 7.203 kB / 498.8 MB, free: 34.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.374, allocations: 45.41 kB / 498.9 MB, free: 34.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.3741, allocations: 44.62 kB / 498.9 MB, free: 34.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3741, allocations: 3.938 kB / 498.9 MB, free: 34.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.3767, allocations: 1.892 MB / 0.4891 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.3768, allocations: 17.8 kB / 0.4891 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.3769, allocations: 14.38 kB / 0.4891 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.3785, allocations: 1.318 MB / 0.4904 GB, free: 33.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3785, allocations: 3.938 kB / 0.4904 GB, free: 33.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3785, allocations: 0 / 0.4904 GB, free: 33.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.3785, allocations: 0 / 0.4904 GB, free: 33.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007201/0.3793, allocations: 445.4 kB / 0.4908 GB, free: 33.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.939e-05/0.3793, allocations: 13.33 kB / 0.4908 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.3794, allocations: 15.7 kB / 0.4908 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.3796, allocations: 126.1 kB / 0.491 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3796, allocations: 8 kB / 0.491 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3796, allocations: 3.156 kB / 0.491 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3798, allocations: 94.73 kB / 0.4911 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3798, allocations: 0 / 0.4911 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3798, allocations: 0 / 0.4911 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.3798, allocations: 3.984 kB / 0.4911 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.167e-05/0.3799, allocations: 65.41 kB / 0.4911 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.38, allocations: 117.5 kB / 0.4912 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.422e-05/0.3801, allocations: 86 kB / 0.4913 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.3801, allocations: 63.11 kB / 0.4914 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.3802, allocations: 0 / 0.4914 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3802, allocations: 38.03 kB / 0.4914 GB, free: 32.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.3802, allocations: 3 kB / 0.4914 GB, free: 32.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003208/0.3805, allocations: 240.2 kB / 0.4917 GB, free: 32.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3805, allocations: 86.55 kB / 0.4917 GB, free: 32.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.3806, allocations: 127.3 kB / 0.4919 GB, free: 32.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3806, allocations: 25.7 kB / 0.4919 GB, free: 32.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.3807, allocations: 87.27 kB / 0.492 GB, free: 32.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.312e-05/0.3808, allocations: 30.66 kB / 0.492 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.3808, allocations: 16.81 kB / 0.492 GB, free: 32.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.3809, allocations: 322.2 kB / 0.4923 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.3809, allocations: 71.08 kB / 0.4924 GB, free: 32.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.381, allocations: 67.36 kB / 0.4924 GB, free: 32.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3811, allocations: 135.6 kB / 0.4926 GB, free: 32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3811, allocations: 0 / 0.4926 GB, free: 32 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001629/0.3812, allocations: 178 kB / 0.4927 GB, free: 31.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.3813, allocations: 48.81 kB / 0.4928 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3813, allocations: 0 / 0.4928 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3813, allocations: 0 / 0.4928 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.3813, allocations: 0 / 0.4928 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3813, allocations: 0 / 0.4928 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.3814, allocations: 6.688 kB / 0.4928 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3814, allocations: 7.406 kB / 0.4928 GB, free: 31.84 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 9.065e-05/0.3815, allocations: 158.1 kB / 0.493 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.3815, allocations: 9.734 kB / 0.493 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.691e-05/0.3815, allocations: 8.438 kB / 0.493 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3815, allocations: 3 kB / 0.493 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3815, allocations: 0 / 0.493 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3815, allocations: 3.938 kB / 0.493 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.187e-05/0.3816, allocations: 125.1 kB / 0.4931 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3816, allocations: 0 / 0.4931 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.3816, allocations: 0 / 0.4931 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.3816, allocations: 4 kB / 0.4931 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3816, allocations: 3.156 kB / 0.4931 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3816, allocations: 3.938 kB / 0.4931 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3816, allocations: 0 / 0.4931 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.3818, allocations: 260.8 kB / 0.4934 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.3819, allocations: 14.58 kB / 0.4934 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3819, allocations: 4 kB / 0.4934 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.3819, allocations: 2.906 kB / 0.4934 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.3819, allocations: 3.188 kB / 0.4934 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.3819, allocations: 3 kB / 0.4934 GB, free: 31.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.382, allocations: 95.92 kB / 0.4935 GB, free: 31.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.382, allocations: 4.031 kB / 0.4935 GB, free: 31.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009042/0.3829, allocations: 318.7 kB / 0.4938 GB, free: 31.23 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.0008404/0.3837, allocations: 371.2 kB / 0.4941 GB, free: 31.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.384, allocations: 244.2 kB / 0.4944 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.384, allocations: 3.938 kB / 0.4944 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3841, allocations: 164.9 kB / 0.4945 GB, free: 30.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3844, allocations: 21.08 kB / 0.4946 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.3848, allocations: 286.1 kB / 0.4948 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.3849, allocations: 79.95 kB / 0.4949 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.152e-05/0.3849, allocations: 0 / 0.4949 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.3849, allocations: 8.5 kB / 0.4949 GB, free: 30.54 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3849, allocations: 0 / 0.4949 GB, free: 30.54 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.88181319902651] Failed to read output from testmodel.py, exit status != 0: 0.4032895719865337 0.41547706900000003 0.034151222 Calling exit ...