Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001683/0.001683, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002352/0.002352, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.584/1.584, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.175/0.175, allocations: 29.42 MB / 290.7 MB, free: 3.32 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [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.002113/0.002113, allocations: 67.83 kB / 431.2 MB, free: 3.281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3854, allocations: 62.44 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005498/0.3909, allocations: 4.462 MB / 498.1 MB, free: 34.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3931, allocations: 1.275 MB / 499.4 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.3933, allocations: 17.88 kB / 499.4 MB, free: 33.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.3944, allocations: 391.7 kB / 499.8 MB, free: 33.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.395, allocations: 251.6 kB / 0.4883 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.3955, allocations: 176.5 kB / 0.4885 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.396, allocations: 0.561 MB / 0.489 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.3964, allocations: 227.4 kB / 0.4892 GB, free: 33.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.3967, allocations: 274.1 kB / 0.4895 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.3971, allocations: 274.7 kB / 0.4898 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.3971, allocations: 31.28 kB / 0.4898 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.3974, allocations: 130.5 kB / 0.4899 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.3975, allocations: 196.1 kB / 0.4901 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3977, allocations: 184.5 kB / 0.4903 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.3982, allocations: 0.5247 MB / 0.4908 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3982, allocations: 0 / 0.4908 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3982, allocations: 3.312 kB / 0.4908 GB, free: 32.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.3982, allocations: 0 / 0.4908 GB, free: 32.55 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001018/0.3992, allocations: 0.6285 MB / 0.4914 GB, free: 32.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3992, allocations: 12.89 kB / 0.4914 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000536/0.3998, allocations: 97.22 kB / 0.4915 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.4003, allocations: 352.3 kB / 0.4918 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4004, allocations: 22.25 kB / 0.4919 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.4005, allocations: 51 kB / 0.4919 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.4011, allocations: 472.2 kB / 0.4924 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.4011, allocations: 7.938 kB / 0.4924 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.4011, allocations: 14.36 kB / 0.4924 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.982e-05/0.4012, allocations: 25.42 kB / 0.4924 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/0.4017, allocations: 351.7 kB / 0.4927 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.4033, allocations: 1.415 MB / 0.4941 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.4035, allocations: 148.6 kB / 0.4943 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.4036, allocations: 101.2 kB / 0.4944 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.4036, allocations: 10.95 kB / 0.4944 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.4037, allocations: 45.38 kB / 0.4944 GB, free: 30.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.4037, allocations: 3.938 kB / 0.4944 GB, free: 30.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001207/0.4049, allocations: 0.7425 MB / 0.4951 GB, free: 29.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.4049, allocations: 80.52 kB / 0.4952 GB, free: 29.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.4051, allocations: 294.9 kB / 0.4955 GB, free: 29.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4051, allocations: 25.7 kB / 0.4955 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4052, allocations: 262.5 kB / 0.4958 GB, free: 29.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.4053, allocations: 67.73 kB / 0.4958 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.4054, allocations: 62.05 kB / 0.4959 GB, free: 29.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.4054, allocations: 339.3 kB / 0.4962 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.4055, allocations: 96.56 kB / 0.4963 GB, free: 28.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.4057, allocations: 201.9 kB / 0.4965 GB, free: 28.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.406, allocations: 332.7 kB / 0.4968 GB, free: 28.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.406, allocations: 0 / 0.4968 GB, free: 28.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007483/0.4068, allocations: 469.9 kB / 0.4973 GB, free: 28.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4068, allocations: 6.281 kB / 0.4973 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005048/0.4073, allocations: 304.2 kB / 0.4976 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/0.4077, allocations: 138.9 kB / 0.4977 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.4079, allocations: 64.78 kB / 0.4978 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.41, allocations: 2.289 MB / 0.5 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.4102, allocations: 13.39 kB / 0.5 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.4102, allocations: 16.75 kB / 0.5 GB, free: 26.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.4104, allocations: 193.9 kB / 0.5002 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.4105, allocations: 31.84 kB / 0.5002 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.4109, allocations: 260 kB / 0.5005 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4109, allocations: 0 / 0.5005 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4109, allocations: 11.25 kB / 0.5005 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4109, allocations: 0 / 0.5005 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008617/0.4117, allocations: 0.6276 MB / 0.5011 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4117, allocations: 7.156 kB / 0.5011 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.4119, allocations: 36.7 kB / 0.5012 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.93e-05/0.412, allocations: 38.62 kB / 0.5012 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.412, allocations: 7.031 kB / 0.5012 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.412, allocations: 3.094 kB / 0.5012 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.412, allocations: 0 / 0.5012 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.4125, allocations: 443 kB / 0.5016 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.4125, allocations: 29.72 kB / 0.5017 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.4125, allocations: 6.578 kB / 0.5017 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.4127, allocations: 7.344 kB / 0.5017 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.4127, allocations: 14.3 kB / 0.5017 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4127, allocations: 6.719 kB / 0.5017 GB, free: 25.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.4129, allocations: 206.4 kB / 0.5019 GB, free: 25.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4129, allocations: 0 / 0.5019 GB, free: 25.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.4133, allocations: 90.52 kB / 0.502 GB, free: 25.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.845e-05/0.4134, allocations: 100.3 kB / 0.5021 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.414, allocations: 412.8 kB / 0.5025 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.414, allocations: 0 / 0.5025 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4142, allocations: 98.97 kB / 0.5026 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.4146, allocations: 69.77 kB / 0.5026 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4159, allocations: 0.8713 MB / 0.5035 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.4161, allocations: 241.7 kB / 0.5037 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.4162, allocations: 64.75 kB / 0.5038 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.4163, allocations: 24.28 kB / 0.5038 GB, free: 24.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4163, allocations: 0 / 0.5038 GB, free: 24.21 MB / 446.1 MB Notification: Performance of Templates: time 0.008541/0.4248, allocations: 3.617 MB / 0.5073 GB, free: 23.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.01447974704206] Failed to read output from testmodel.py, exit status != 0: 0.4331024989951402 0.44528563699999996 0.044202269 Calling exit ...