Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001313/0.001313, 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.002149/0.002149, allocations: 169.2 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.457/1.457, 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.1787/0.1787, allocations: 29.42 MB / 290.7 MB, free: 3.312 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [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.002095/0.002095, allocations: 63.89 kB / 431.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3163, allocations: 62.46 MB / 493.6 MB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004045/0.3203, allocations: 2.224 MB / 495.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003483/0.3238, allocations: 1.904 MB / 497.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.3239, allocations: 3.938 kB / 497.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.324, allocations: 7.922 kB / 497.8 MB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.3241, allocations: 43.81 kB / 497.8 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.3269, allocations: 0.941 MB / 498.8 MB, free: 12.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3271, allocations: 107.6 kB / 498.9 MB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.3271, allocations: 7.984 kB / 498.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3273, allocations: 43.84 kB / 498.9 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3274, allocations: 63.72 kB / 499 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3274, allocations: 4 kB / 499 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.3307, allocations: 1.847 MB / 0.4891 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.3308, allocations: 27.84 kB / 0.4891 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.3309, allocations: 39.8 kB / 0.4892 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.3327, allocations: 1.328 MB / 0.4905 GB, free: 9.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3327, allocations: 0 / 0.4905 GB, free: 9.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3327, allocations: 0 / 0.4905 GB, free: 9.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3327, allocations: 0 / 0.4905 GB, free: 9.254 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007703/0.3334, allocations: 478.2 kB / 0.4909 GB, free: 8.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3335, allocations: 15.97 kB / 0.4909 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.3335, allocations: 12.83 kB / 0.4909 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3338, allocations: 150.2 kB / 0.4911 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3338, allocations: 4.125 kB / 0.4911 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3338, allocations: 8 kB / 0.4911 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.334, allocations: 127.3 kB / 0.4912 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.334, allocations: 7.938 kB / 0.4912 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.334, allocations: 0 / 0.4912 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.334, allocations: 0 / 0.4912 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3341, allocations: 89.66 kB / 0.4913 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.3343, allocations: 113.3 kB / 0.4914 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3344, allocations: 108.2 kB / 0.4915 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3345, allocations: 90.48 kB / 0.4916 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.3345, allocations: 4 kB / 0.4916 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3346, allocations: 38.56 kB / 0.4917 GB, free: 7.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.3346, allocations: 0 / 0.4917 GB, free: 7.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004773/0.335, allocations: 334.8 kB / 0.492 GB, free: 7.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.3351, allocations: 89.11 kB / 0.4921 GB, free: 7.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3353, allocations: 148.3 kB / 0.4922 GB, free: 7.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3353, allocations: 25.7 kB / 0.4922 GB, free: 7.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.3353, allocations: 104.4 kB / 0.4923 GB, free: 7.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.3354, allocations: 47.53 kB / 0.4924 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.3354, allocations: 21.72 kB / 0.4924 GB, free: 7.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3356, allocations: 326.8 kB / 0.4927 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3357, allocations: 85.67 kB / 0.4928 GB, free: 6.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.3358, allocations: 93.69 kB / 0.4929 GB, free: 6.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.336, allocations: 197.5 kB / 0.4931 GB, free: 6.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.336, allocations: 0 / 0.4931 GB, free: 6.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002755/0.3363, allocations: 236.9 kB / 0.4933 GB, free: 6.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.3363, allocations: 56.8 kB / 0.4933 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3364, allocations: 0 / 0.4933 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3364, allocations: 0 / 0.4933 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.3364, allocations: 0 / 0.4933 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3364, allocations: 0 / 0.4933 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.3364, allocations: 7.953 kB / 0.4934 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3365, allocations: 11.94 kB / 0.4934 GB, free: 6.02 MB / 398.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.0001643/0.3366, allocations: 171.6 kB / 0.4935 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.3366, allocations: 15.89 kB / 0.4935 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.3367, allocations: 8.781 kB / 0.4935 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3367, allocations: 0 / 0.4935 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3367, allocations: 0 / 0.4935 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3367, allocations: 0 / 0.4935 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3368, allocations: 133.2 kB / 0.4937 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3368, allocations: 0 / 0.4937 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-06/0.3368, allocations: 3.938 kB / 0.4937 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3368, allocations: 7.922 kB / 0.4937 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3368, allocations: 8 kB / 0.4937 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3368, allocations: 3.938 kB / 0.4937 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3368, allocations: 0 / 0.4937 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.3372, allocations: 342.2 kB / 0.494 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.3373, allocations: 19.88 kB / 0.494 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3373, allocations: 0 / 0.494 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.277e-05/0.3373, allocations: 8 kB / 0.4941 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.3373, allocations: 4 kB / 0.4941 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3373, allocations: 4 kB / 0.4941 GB, free: 5.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.335e-05/0.3374, allocations: 114.3 kB / 0.4942 GB, free: 5.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3374, allocations: 0 / 0.4942 GB, free: 5.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009326/0.3384, allocations: 339.4 kB / 0.4945 GB, free: 4.785 MB / 398.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.000886/0.3392, allocations: 382.1 kB / 0.4949 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.3397, allocations: 326.6 kB / 0.4952 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3397, allocations: 0 / 0.4952 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.3399, allocations: 197 kB / 0.4954 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.3402, allocations: 19.11 kB / 0.4954 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.3408, allocations: 415.2 kB / 0.4958 GB, free: 3.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.3409, allocations: 96.3 kB / 0.4959 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.341, allocations: 0 / 0.4959 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.341, allocations: 12.5 kB / 0.4959 GB, free: 3.27 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.341, allocations: 4 kB / 0.4959 GB, free: 3.266 MB / 398.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.9121428300859407] Failed to read output from testmodel.py, exit status != 0: 0.362522681010887 0.376908042 0.041067101 Calling exit ...