Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.0008985/0.0008985, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.000933/0.000933, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2417/0.2417, allocations: 29.42 MB / 291.2 MB, free: 2.516 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_matrixTrDat2,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_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,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_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.191e-05, allocations: 5.266 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003661/0.003693, allocations: 2.265 MB / 371.9 MB, free: 9.023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.006874, allocations: 1.953 MB / 373.9 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.006944, allocations: 0 / 373.9 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.007082, allocations: 15.84 kB / 373.9 MB, free: 7.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.767e-05/0.00718, allocations: 31.78 kB / 373.9 MB, free: 7.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.009711, allocations: 0.9817 MB / 374.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.009853, allocations: 75.69 kB / 375 MB, free: 5.953 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.009901, allocations: 192 / 375 MB, free: 5.953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.01007, allocations: 47.89 kB / 375 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.01016, allocations: 39.88 kB / 375 MB, free: 5.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.01018, allocations: 4 kB / 375 MB, free: 5.863 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/0.01344, allocations: 1.902 MB / 376.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.0135, allocations: 35.86 kB / 377 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.01355, allocations: 15.92 kB / 377 MB, free: 3.906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.01579, allocations: 1.515 MB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.0158, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.0158, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.01581, allocations: 0 / 378.5 MB, free: 2.387 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008304/0.01664, allocations: 0.598 MB / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.01668, allocations: 15.97 kB / 379.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.01674, allocations: 12.84 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.01692, allocations: 140.4 kB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.01692, allocations: 384 / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.01694, allocations: 3.938 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.01706, allocations: 98.22 kB / 379.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.01707, allocations: 0 / 379.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.01708, allocations: 0 / 379.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.01709, allocations: 3.938 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.01715, allocations: 65.55 kB / 379.4 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.0173, allocations: 140.5 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.0174, allocations: 88.75 kB / 379.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.141e-05/0.01747, allocations: 73.34 kB / 379.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.01748, allocations: 3.938 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.01751, allocations: 41.38 kB / 379.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.01751, allocations: 0 / 379.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004025/0.01791, allocations: 291 kB / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.01798, allocations: 97.09 kB / 380.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.01812, allocations: 208.6 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.01813, allocations: 29.7 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.01818, allocations: 155.4 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.01824, allocations: 83.22 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.0183, allocations: 39.36 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.01845, allocations: 0.5001 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.01853, allocations: 61.69 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.01859, allocations: 61.69 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.01875, allocations: 161 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01875, allocations: 0 / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002455/0.019, allocations: 222.4 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.01906, allocations: 57.66 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01906, allocations: 4.062 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.01908, allocations: 4 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-06/0.01908, allocations: 4 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.01909, allocations: 0 / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.01914, allocations: 11.89 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.01917, allocations: 8 kB / 381.7 MB, free: 14.85 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.0001472/0.01932, allocations: 214.2 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.01936, allocations: 27.84 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.01938, allocations: 17.27 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01938, allocations: 0 / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01939, allocations: 0 / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01939, allocations: 4 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.01951, allocations: 144.5 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01951, allocations: 4 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.01951, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.01952, allocations: 7.875 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.01954, allocations: 7.984 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01954, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01954, allocations: 3.938 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.01996, allocations: 335.4 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.01997, allocations: 11.91 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.02, allocations: 11.97 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.02004, allocations: 4 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.02007, allocations: 3.984 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.02008, allocations: 8 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.193e-05/0.02016, allocations: 147.2 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02016, allocations: 0 / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00105/0.02121, allocations: 343.3 kB / 383 MB, free: 13.49 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.001066/0.02228, allocations: 413.5 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.02267, allocations: 290.3 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02267, allocations: 3.938 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.02286, allocations: 192.7 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.0231, allocations: 12 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.02399, allocations: 412.2 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.02404, allocations: 79.33 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.342e-05/0.02405, allocations: 0 / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.02407, allocations: 8.5 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02407, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB [CodegenCFunctions.tpl:5910:13-5910: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.954235133016482]