Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001351/0.001351, allocations: 71.75 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.001466/0.001466, allocations: 163.9 kB / 24.49 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.46/1.46, 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.1868/0.1868, allocations: 29.42 MB / 290.7 MB, free: 3.328 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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [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.002153/0.002153, allocations: 67.89 kB / 431.2 MB, free: 3.258 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3389, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003163/0.342, allocations: 2.195 MB / 495.8 MB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.3446, allocations: 1.903 MB / 497.7 MB, free: 35.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.3446, allocations: 4 kB / 497.7 MB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.3448, allocations: 13.95 kB / 497.8 MB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.3449, allocations: 29.27 kB / 497.8 MB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.3472, allocations: 0.966 MB / 498.7 MB, free: 34.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.3473, allocations: 72.55 kB / 498.8 MB, free: 34.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.3474, allocations: 11.23 kB / 498.8 MB, free: 34.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3475, allocations: 45.22 kB / 498.9 MB, free: 34.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.3476, allocations: 50.89 kB / 498.9 MB, free: 34.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3476, allocations: 3 kB / 498.9 MB, free: 34.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.3501, allocations: 1.892 MB / 0.4891 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.3501, allocations: 50.69 kB / 0.4891 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.3502, allocations: 40.22 kB / 0.4892 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.3514, allocations: 1.384 MB / 0.4905 GB, free: 33.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3514, allocations: 4 kB / 0.4905 GB, free: 33.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3514, allocations: 0 / 0.4905 GB, free: 33.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3514, allocations: 3.188 kB / 0.4905 GB, free: 33.89 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005606/0.352, allocations: 0.5449 MB / 0.4911 GB, free: 33.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.352, allocations: 13.3 kB / 0.4911 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.3521, allocations: 22.47 kB / 0.4911 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3522, allocations: 153.2 kB / 0.4912 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.3522, allocations: 3.125 kB / 0.4912 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3522, allocations: 0 / 0.4912 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.3525, allocations: 239.2 kB / 0.4915 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3525, allocations: 4 kB / 0.4915 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3525, allocations: 0 / 0.4915 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3525, allocations: 0 / 0.4915 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.3526, allocations: 203.9 kB / 0.4917 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.3527, allocations: 135 kB / 0.4918 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.3529, allocations: 212.7 kB / 0.492 GB, free: 32.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.3531, allocations: 212.5 kB / 0.4922 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.3531, allocations: 3.938 kB / 0.4922 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.3531, allocations: 34.5 kB / 0.4922 GB, free: 32.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 8.61e-07/0.3531, allocations: 3.094 kB / 0.4922 GB, free: 32.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006919/0.3538, allocations: 0.7256 MB / 0.493 GB, free: 32.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3538, allocations: 109 kB / 0.4931 GB, free: 32.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.354, allocations: 168.1 kB / 0.4932 GB, free: 32.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.354, allocations: 28.7 kB / 0.4932 GB, free: 32.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.354, allocations: 103.2 kB / 0.4933 GB, free: 32.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.3541, allocations: 141.2 kB / 0.4935 GB, free: 31.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.3541, allocations: 39.48 kB / 0.4935 GB, free: 31.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.3542, allocations: 335.2 kB / 0.4938 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.3544, allocations: 196.2 kB / 0.494 GB, free: 31.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3545, allocations: 200.6 kB / 0.4942 GB, free: 31.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.3548, allocations: 476.6 kB / 0.4947 GB, free: 31.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3548, allocations: 0 / 0.4947 GB, free: 31.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000411/0.3552, allocations: 481.2 kB / 0.4951 GB, free: 31.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.3553, allocations: 85 kB / 0.4952 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3553, allocations: 3.344 kB / 0.4952 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3553, allocations: 0 / 0.4952 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.3553, allocations: 0 / 0.4952 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3553, allocations: 4 kB / 0.4952 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.3554, allocations: 17.3 kB / 0.4952 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.3554, allocations: 6.281 kB / 0.4952 GB, free: 31.08 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.0001568/0.3556, allocations: 241.3 kB / 0.4955 GB, free: 30.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.3556, allocations: 27.73 kB / 0.4955 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.3557, allocations: 13.81 kB / 0.4955 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3557, allocations: 0 / 0.4955 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3557, allocations: 3.422 kB / 0.4955 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3557, allocations: 7.875 kB / 0.4955 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.3558, allocations: 156.4 kB / 0.4957 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3558, allocations: 0 / 0.4957 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3558, allocations: 0 / 0.4957 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3558, allocations: 0 / 0.4957 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.3558, allocations: 16.08 kB / 0.4957 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3558, allocations: 4 kB / 0.4957 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3558, allocations: 0 / 0.4957 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.3565, allocations: 0.7933 MB / 0.4965 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.3565, allocations: 25.42 kB / 0.4965 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.3566, allocations: 6.781 kB / 0.4965 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.3566, allocations: 6.5 kB / 0.4965 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.3566, allocations: 7.344 kB / 0.4965 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3567, allocations: 9.562 kB / 0.4965 GB, free: 30.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.3567, allocations: 127.2 kB / 0.4966 GB, free: 30.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3567, allocations: 0 / 0.4966 GB, free: 30.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009311/0.3577, allocations: 357.8 kB / 0.497 GB, free: 30.29 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.0007785/0.3584, allocations: 378.9 kB / 0.4973 GB, free: 30.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007246/0.3592, allocations: 0.767 MB / 0.4981 GB, free: 29.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3592, allocations: 0 / 0.4981 GB, free: 29.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.3595, allocations: 454 kB / 0.4985 GB, free: 29.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.3598, allocations: 24.03 kB / 0.4985 GB, free: 29.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009257/0.3607, allocations: 0.7823 MB / 0.4993 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.3608, allocations: 141.6 kB / 0.4994 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.291e-05/0.3608, allocations: 3.531 kB / 0.4994 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.3608, allocations: 8.5 kB / 0.4995 GB, free: 29.29 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3608, allocations: 0 / 0.4995 GB, free: 29.29 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.94672048301436] Failed to read output from testmodel.py, exit status != 0: 0.3835091789951548 0.39774145000000005 0.043397210000000006 Calling exit ...