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.001003/0.001003, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.00097/0.00097, allocations: 165 kB / 24.56 MB, free: 12 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.9698/0.9698, allocations: 177.1 MB / 205 MB, free: 5.59 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.24/0.24, allocations: 29.42 MB / 290.9 MB, free: 2.438 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_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.343e-06/1.343e-06, allocations: 0 / 369.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.282e-05, allocations: 2.312 kB / 369.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002613/0.002636, allocations: 2.265 MB / 371.9 MB, free: 8.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.005329, allocations: 1.961 MB / 373.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.005421, allocations: 4 kB / 373.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.005612, allocations: 19.84 kB / 373.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.005737, allocations: 27.78 kB / 373.9 MB, free: 6.629 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.008437, allocations: 0.974 MB / 374.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.008598, allocations: 79.67 kB / 375 MB, free: 5.574 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.008646, allocations: 192 / 375 MB, free: 5.574 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.008836, allocations: 59.77 kB / 375.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.008918, allocations: 39.88 kB / 375.1 MB, free: 5.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.00893, allocations: 0 / 375.1 MB, free: 5.477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.01128, allocations: 1.902 MB / 377 MB, free: 3.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.01135, allocations: 31.91 kB / 377 MB, free: 3.539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.01139, allocations: 19.88 kB / 377 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.0133, allocations: 1.512 MB / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01331, allocations: 11.94 kB / 378.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01331, allocations: 0 / 378.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.01331, allocations: 0 / 378.6 MB, free: 1.992 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.0006961/0.01401, allocations: 0.5941 MB / 379.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.01405, allocations: 11.98 kB / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.0141, allocations: 16.84 kB / 379.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.01425, allocations: 132.5 kB / 379.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.01426, allocations: 8.25 kB / 379.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.01427, allocations: 3.938 kB / 379.3 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.01441, allocations: 98.22 kB / 379.4 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.01442, allocations: 4 kB / 379.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.01443, allocations: 0 / 379.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.01444, allocations: 0 / 379.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.757e-05/0.01448, allocations: 69.55 kB / 379.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.0146, allocations: 140.5 kB / 379.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.659e-05/0.01468, allocations: 88.69 kB / 379.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.01473, allocations: 77.39 kB / 379.8 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-06/0.01473, allocations: 3.938 kB / 379.8 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.01475, allocations: 33.39 kB / 379.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 9.62e-07/0.01475, allocations: 0 / 379.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002909/0.01504, allocations: 291.1 kB / 380.1 MB, free: 264 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.01509, allocations: 101.1 kB / 380.2 MB, free: 144 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.01521, allocations: 208.6 kB / 380.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.01522, allocations: 25.7 kB / 380.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.01528, allocations: 151.4 kB / 380.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.01534, allocations: 87.22 kB / 380.7 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.01538, allocations: 43.3 kB / 380.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.0155, allocations: 0.5001 MB / 381.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.01555, allocations: 61.69 kB / 381.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/0.01559, allocations: 61.69 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.0157, allocations: 153.1 kB / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.0157, allocations: 4.062 kB / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001657/0.01587, allocations: 218.4 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.01592, allocations: 61.66 kB / 381.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01592, allocations: 0 / 381.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01594, allocations: 0 / 381.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-06/0.01594, allocations: 0 / 381.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.01595, allocations: 3.938 kB / 381.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.016, allocations: 11.89 kB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.01602, allocations: 12 kB / 381.8 MB, free: 14.46 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.0001095/0.01613, allocations: 214.2 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.01615, allocations: 35.86 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.01617, allocations: 13.28 kB / 382.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.01617, allocations: 3.938 kB / 382.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01617, allocations: 0 / 382.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.01618, allocations: 0 / 382.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.379e-05/0.01627, allocations: 148.5 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01627, allocations: 0 / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.01627, allocations: 0 / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01628, allocations: 7.922 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.01629, allocations: 4 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01629, allocations: 4 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01629, allocations: 4 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.01656, allocations: 331.4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.01657, allocations: 15.84 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.01659, allocations: 11.88 kB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.496e-05/0.01662, allocations: 4 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.01664, allocations: 7.984 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.01665, allocations: 4 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.554e-05/0.01671, allocations: 151.2 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01671, allocations: 0 / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000651/0.01736, allocations: 339.4 kB / 383.1 MB, free: 13.1 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.0006945/0.01805, allocations: 413.5 kB / 383.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.01829, allocations: 286.4 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0183, allocations: 0 / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.01841, allocations: 192.7 kB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.01857, allocations: 11.27 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.01921, allocations: 412.2 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.01926, allocations: 79.33 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.306e-05/0.01927, allocations: 0 / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.01929, allocations: 12.5 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01929, allocations: 0 / 384.4 MB, free: 11.62 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.8627891740761697]