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.001613/0.001613, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001789/0.001789, allocations: 161 kB / 24.56 MB, free: 20 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 0.9979/0.9979, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2366/0.2366, allocations: 29.42 MB / 290.9 MB, free: 2.527 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|zr_q.[0-9,]+.",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.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.565e-05, allocations: 2.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002198/0.002214, allocations: 2.268 MB / 371.9 MB, free: 8.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.004543, allocations: 1.961 MB / 373.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.004631, allocations: 0 / 373.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.004818, allocations: 11.86 kB / 373.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.004931, allocations: 35.77 kB / 373.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.007262, allocations: 0.9856 MB / 374.9 MB, free: 5.68 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.007385, allocations: 71.7 kB / 375 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.007422, allocations: 8.172 kB / 375 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.007558, allocations: 39.89 kB / 375 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.007635, allocations: 47.88 kB / 375.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.007648, allocations: 0 / 375.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.009822, allocations: 1.902 MB / 377 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.009887, allocations: 51.78 kB / 377 MB, free: 3.559 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.009936, allocations: 35.84 kB / 377.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.01149, allocations: 1.535 MB / 378.6 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01149, allocations: 0 / 378.6 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01149, allocations: 0 / 378.6 MB, free: 1.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.0115, allocations: 4 kB / 378.6 MB, free: 1.98 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.000731/0.01223, allocations: 0.6368 MB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.01227, allocations: 15.98 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.01233, allocations: 20.73 kB / 379.3 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.01248, allocations: 156.2 kB / 379.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.01249, allocations: 384 / 379.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.0125, allocations: 11.94 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.01266, allocations: 121.3 kB / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.01267, allocations: 0 / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.01268, allocations: 0 / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.01268, allocations: 0 / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.01274, allocations: 86.02 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.01286, allocations: 149.1 kB / 379.8 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.255e-05/0.01294, allocations: 113 kB / 379.9 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.01299, allocations: 93.72 kB / 380 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-06/0.013, allocations: 3.938 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.01302, allocations: 37.39 kB / 380 MB, free: 400 kB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 7.01e-07/0.01302, allocations: 0 / 380 MB, free: 400 kB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003795/0.0134, allocations: 450.5 kB / 380.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.01345, allocations: 101 kB / 380.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.01357, allocations: 229.8 kB / 380.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.01358, allocations: 29.7 kB / 380.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.01363, allocations: 151.5 kB / 381 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.01371, allocations: 138.8 kB / 381.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.01375, allocations: 47.36 kB / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.01386, allocations: 0.5157 MB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.01392, allocations: 81.69 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.01397, allocations: 90.69 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.0141, allocations: 211.2 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.0141, allocations: 0 / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002029/0.01431, allocations: 312.7 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.01436, allocations: 77.64 kB / 382.4 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.01436, allocations: 0 / 382.4 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01437, allocations: 7.922 kB / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.138e-06/0.01438, allocations: 0 / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.01438, allocations: 0 / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.01443, allocations: 23.78 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.01445, allocations: 16.06 kB / 382.5 MB, free: 13.8 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.0001012/0.01455, allocations: 242.2 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.01458, allocations: 43.8 kB / 382.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.342e-05/0.0146, allocations: 10.66 kB / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.0146, allocations: 0 / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.0146, allocations: 0 / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.0146, allocations: 0 / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.08e-05/0.01469, allocations: 164.4 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01469, allocations: 0 / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.01469, allocations: 3.984 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.01469, allocations: 11.92 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.0147, allocations: 8 kB / 383 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.0147, allocations: 0 / 383 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01471, allocations: 4 kB / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.01504, allocations: 479.5 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.01506, allocations: 27.73 kB / 383.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01508, allocations: 7.938 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.625e-05/0.01511, allocations: 8 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.01513, allocations: 11.94 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01514, allocations: 8 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.01519, allocations: 164.1 kB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01519, allocations: 4.031 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000535/0.01573, allocations: 355.4 kB / 384 MB, free: 12.2 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.0006096/0.01634, allocations: 409.6 kB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.01664, allocations: 394.3 kB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01665, allocations: 0 / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.01679, allocations: 268.6 kB / 385.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.01695, allocations: 22.88 kB / 385.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.01773, allocations: 0.547 MB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.01778, allocations: 95.8 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.309e-05/0.01779, allocations: 7.938 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.0178, allocations: 8.5 kB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0178, allocations: 0 / 385.7 MB, free: 10.37 MB / 362.7 MB [CodegenCFunctions.tpl:6359:13-6359: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: 1.924417382106185]