Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.002082/0.002082, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002804/0.002804, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.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.1885/0.1885, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.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_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [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.002441/0.002441, allocations: 71.89 kB / 493 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4087, allocations: 62.46 MB / 0.5424 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.004069/0.4128, allocations: 2.189 MB / 0.5446 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00388/0.4166, allocations: 1.894 MB / 0.5464 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.4167, allocations: 5.125 kB / 0.5464 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.4169, allocations: 14.03 kB / 0.5464 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.417, allocations: 30.16 kB / 0.5465 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.42, allocations: 0.97 MB / 0.5474 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.4202, allocations: 70.67 kB / 0.5475 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.548e-05/0.4202, allocations: 10.41 kB / 0.5475 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.4204, allocations: 38.56 kB / 0.5475 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.4205, allocations: 43 kB / 0.5476 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4205, allocations: 1.188 kB / 0.5476 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.4239, allocations: 1.898 MB / 0.5494 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.424, allocations: 17.02 kB / 0.5494 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.424, allocations: 23.52 kB / 0.5495 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.4261, allocations: 1.335 MB / 0.5508 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4261, allocations: 0 / 0.5508 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4261, allocations: 0 / 0.5508 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.4261, allocations: 0 / 0.5508 GB, free: 10.48 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007931/0.4269, allocations: 466.3 kB / 0.5512 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4269, allocations: 10.09 kB / 0.5512 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.427, allocations: 12.36 kB / 0.5512 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.4272, allocations: 135 kB / 0.5514 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4272, allocations: 0 / 0.5514 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.4272, allocations: 1.062 kB / 0.5514 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.4274, allocations: 113.2 kB / 0.5515 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4274, allocations: 0 / 0.5515 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4274, allocations: 5.062 kB / 0.5515 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4274, allocations: 0 / 0.5515 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4275, allocations: 84.11 kB / 0.5516 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.4277, allocations: 116.9 kB / 0.5517 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.4278, allocations: 98.19 kB / 0.5518 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.4279, allocations: 92.77 kB / 0.5519 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.4279, allocations: 0 / 0.5519 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.428, allocations: 31.72 kB / 0.5519 GB, free: 9.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.31e-07/0.428, allocations: 1.062 kB / 0.5519 GB, free: 9.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004412/0.4284, allocations: 302.4 kB / 0.5522 GB, free: 9.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.4285, allocations: 89.19 kB / 0.5523 GB, free: 9.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.4286, allocations: 135.8 kB / 0.5524 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4286, allocations: 25.7 kB / 0.5524 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.4287, allocations: 87.36 kB / 0.5525 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.4288, allocations: 45.23 kB / 0.5525 GB, free: 8.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.4288, allocations: 28.8 kB / 0.5526 GB, free: 8.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.429, allocations: 330.8 kB / 0.5529 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.4291, allocations: 78.86 kB / 0.553 GB, free: 8.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.492e-05/0.4292, allocations: 79.64 kB / 0.553 GB, free: 8.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.4294, allocations: 185.9 kB / 0.5532 GB, free: 8.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4294, allocations: 0 / 0.5532 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002723/0.4297, allocations: 213.3 kB / 0.5534 GB, free: 8.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.4297, allocations: 52.77 kB / 0.5535 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4297, allocations: 0 / 0.5535 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4297, allocations: 1.5 kB / 0.5535 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-07/0.4297, allocations: 0 / 0.5535 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.4297, allocations: 4.062 kB / 0.5535 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.4298, allocations: 7.609 kB / 0.5535 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.4298, allocations: 3.25 kB / 0.5535 GB, free: 8.137 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.0001658/0.43, allocations: 169.6 kB / 0.5536 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.43, allocations: 14 kB / 0.5537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.43, allocations: 11.33 kB / 0.5537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.43, allocations: 0 / 0.5537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.43, allocations: 0 / 0.5537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.43, allocations: 1.156 kB / 0.5537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.4302, allocations: 127.4 kB / 0.5538 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4302, allocations: 1.156 kB / 0.5538 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4302, allocations: 4 kB / 0.5538 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4302, allocations: 4 kB / 0.5538 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4302, allocations: 3.344 kB / 0.5538 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4302, allocations: 1.031 kB / 0.5538 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4302, allocations: 0 / 0.5538 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.4306, allocations: 338.2 kB / 0.5541 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.4307, allocations: 11.05 kB / 0.5541 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.4307, allocations: 3.156 kB / 0.5541 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.4307, allocations: 2.188 kB / 0.5541 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.4307, allocations: 6.25 kB / 0.5541 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.4308, allocations: 7.312 kB / 0.5542 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.4308, allocations: 104.7 kB / 0.5543 GB, free: 7.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4308, allocations: 0 / 0.5543 GB, free: 7.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001096/0.4319, allocations: 327.8 kB / 0.5546 GB, free: 7.43 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.0009764/0.4329, allocations: 366.2 kB / 0.5549 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.4333, allocations: 314.6 kB / 0.5552 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4334, allocations: 11.94 kB / 0.5552 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.4336, allocations: 193 kB / 0.5554 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.4338, allocations: 14 kB / 0.5554 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.4345, allocations: 354.7 kB / 0.5558 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.4346, allocations: 91.38 kB / 0.5559 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.4e-05/0.4346, allocations: 3.984 kB / 0.5559 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.4346, allocations: 11.5 kB / 0.5559 GB, free: 6 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4346, allocations: 0 / 0.5559 GB, free: 6 MB / 398.1 MB [CodegenCFunctions.tpl:5658:13-5658: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.2876237593591213] Failed to read output from testmodel.py, exit status != 0: 0.4571018312126398 0.477085101 0.046503453 Calling exit ...