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.002012/0.002012, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002503/0.002503, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.3036/0.3036, allocations: 29.41 MB / 290.5 MB, free: 2.422 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.909e-05, allocations: 2.312 kB / 368.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.004065/0.004095, allocations: 2.211 MB / 371.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.007799, allocations: 1.895 MB / 373 MB, free: 7.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.007858, allocations: 3.938 kB / 373 MB, free: 7.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.008011, allocations: 15.91 kB / 373 MB, free: 7.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.889e-05/0.00811, allocations: 27.78 kB / 373.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.01084, allocations: 0.9584 MB / 374 MB, free: 6.137 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.011, allocations: 87.56 kB / 374.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.01105, allocations: 8.172 kB / 374.1 MB, free: 6.043 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.01122, allocations: 39.84 kB / 374.1 MB, free: 6.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.01134, allocations: 47.86 kB / 374.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.01136, allocations: 4 kB / 374.2 MB, free: 5.953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003345/0.0147, allocations: 1.898 MB / 376.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.01479, allocations: 47.84 kB / 376.1 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.01485, allocations: 27.88 kB / 376.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.01737, allocations: 1.539 MB / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.01737, allocations: 0 / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.01738, allocations: 0 / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.01738, allocations: 4 kB / 377.7 MB, free: 2.43 MB / 346.7 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.0008448/0.01823, allocations: 0.5446 MB / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.01827, allocations: 11.98 kB / 378.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.01834, allocations: 24.78 kB / 378.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.01858, allocations: 145.4 kB / 378.4 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.01859, allocations: 384 / 378.4 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.01861, allocations: 7.938 kB / 378.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.01895, allocations: 232.2 kB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.01896, allocations: 0 / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.01897, allocations: 3.938 kB / 378.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.01898, allocations: 4 kB / 378.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.01922, allocations: 190 kB / 378.9 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.01942, allocations: 137.8 kB / 379 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.01969, allocations: 204.5 kB / 379.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.01992, allocations: 190.8 kB / 379.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.01993, allocations: 11.91 kB / 379.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.01998, allocations: 38.56 kB / 379.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 8.32e-07/0.01998, allocations: 0 / 379.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001082/0.02106, allocations: 0.7054 MB / 380.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.02115, allocations: 101.1 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.02136, allocations: 170.3 kB / 380.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.02138, allocations: 29.7 kB / 380.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.02147, allocations: 108.7 kB / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.0216, allocations: 126.8 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.02167, allocations: 33.7 kB / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.02187, allocations: 338.8 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.02211, allocations: 189.6 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.02235, allocations: 194.6 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.02288, allocations: 444.2 kB / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.02288, allocations: 0 / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000611/0.02349, allocations: 476.6 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.0236, allocations: 89.56 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.0236, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.02362, allocations: 4 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.02362, allocations: 0 / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.02363, allocations: 0 / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.02371, allocations: 23.78 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.02374, allocations: 8 kB / 382.4 MB, free: 13.44 MB / 362.7 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.0002481/0.02399, allocations: 235.5 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.02406, allocations: 39.8 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.02408, allocations: 18.64 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.02409, allocations: 0 / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.02409, allocations: 4 kB / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.0241, allocations: 0 / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.02428, allocations: 149.1 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.02428, allocations: 4 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-06/0.02428, allocations: 3.938 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.02429, allocations: 3.938 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.02431, allocations: 12 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.02431, allocations: 0 / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02431, allocations: 0 / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.02541, allocations: 0.7812 MB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.02545, allocations: 27.73 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.02548, allocations: 7.938 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.02553, allocations: 4 kB / 383.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.02557, allocations: 8 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.02559, allocations: 12 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.02571, allocations: 124.2 kB / 383.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02571, allocations: 0 / 383.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001257/0.02697, allocations: 363.4 kB / 384.2 MB, free: 11.59 MB / 362.7 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.001044/0.02802, allocations: 410.1 kB / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.02908, allocations: 0.7601 MB / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02908, allocations: 4 kB / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.02964, allocations: 432.9 kB / 385.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.02988, allocations: 16.12 kB / 385.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.03112, allocations: 0.7759 MB / 386.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.03129, allocations: 139.8 kB / 386.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.431e-05/0.0313, allocations: 4 kB / 386.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.03133, allocations: 8.5 kB / 386.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03133, allocations: 0 / 386.7 MB, free: 8.961 MB / 362.7 MB [CodegenCFunctions.tpl:5860:13-5860: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.593723959987983]