Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.001324/0.001324, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 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.001527/0.001527, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.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.1768/0.1768, allocations: 38.52 MB / 353.2 MB, free: 12.55 MB / 286.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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") [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.002286/0.002286, allocations: 67.91 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3152, allocations: 62.45 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.007047/0.3223, allocations: 5.627 MB / 0.5487 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.3244, allocations: 1.138 MB / 0.5498 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.3247, allocations: 26.38 kB / 0.5498 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.3249, allocations: 83.8 kB / 0.5499 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007238/0.3256, allocations: 304.4 kB / 0.5502 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.326, allocations: 139.9 kB / 0.5503 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007697/0.3267, allocations: 0.7018 MB / 0.551 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.327, allocations: 125.9 kB / 0.5511 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.3275, allocations: 320.5 kB / 0.5515 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.328, allocations: 343.2 kB / 0.5518 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.3281, allocations: 32.28 kB / 0.5518 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.3282, allocations: 34.22 kB / 0.5518 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3283, allocations: 162.5 kB / 0.552 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.3286, allocations: 239.7 kB / 0.5522 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.3291, allocations: 493 kB / 0.5527 GB, free: 9.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3292, allocations: 0 / 0.5527 GB, free: 9.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3292, allocations: 0 / 0.5527 GB, free: 9.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3292, allocations: 7.938 kB / 0.5527 GB, free: 9.379 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001373/0.3305, allocations: 0.7358 MB / 0.5534 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3306, allocations: 10.41 kB / 0.5534 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.3307, allocations: 57.23 kB / 0.5535 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007495/0.3314, allocations: 394.5 kB / 0.5539 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.3314, allocations: 27.78 kB / 0.5539 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.3315, allocations: 35.97 kB / 0.5539 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/0.3322, allocations: 463.7 kB / 0.5544 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3322, allocations: 0 / 0.5544 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.3323, allocations: 16.44 kB / 0.5544 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3323, allocations: 9.688 kB / 0.5544 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.3328, allocations: 304 kB / 0.5547 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.3349, allocations: 1.727 MB / 0.5564 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3352, allocations: 140.2 kB / 0.5565 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.038e-05/0.3353, allocations: 51.44 kB / 0.5566 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3353, allocations: 14.36 kB / 0.5566 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3353, allocations: 31.62 kB / 0.5566 GB, free: 6.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.3353, allocations: 0 / 0.5566 GB, free: 6.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0011/0.3364, allocations: 0.5433 MB / 0.5571 GB, free: 5.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.3365, allocations: 109.1 kB / 0.5572 GB, free: 5.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.3369, allocations: 373.4 kB / 0.5576 GB, free: 5.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.337, allocations: 30.86 kB / 0.5576 GB, free: 5.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.3372, allocations: 284.3 kB / 0.5579 GB, free: 5.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.3372, allocations: 63.09 kB / 0.5579 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/0.3373, allocations: 66.55 kB / 0.558 GB, free: 4.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3375, allocations: 346.8 kB / 0.5583 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.3376, allocations: 43.98 kB / 0.5584 GB, free: 4.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.3378, allocations: 194.5 kB / 0.5586 GB, free: 4.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.3382, allocations: 266.6 kB / 0.5588 GB, free: 4.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3382, allocations: 4 kB / 0.5588 GB, free: 4.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004716/0.3386, allocations: 297.3 kB / 0.5591 GB, free: 3.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3387, allocations: 6.656 kB / 0.5591 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.3387, allocations: 15.92 kB / 0.5591 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3387, allocations: 4.625 kB / 0.5591 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.3389, allocations: 71.92 kB / 0.5592 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.339, allocations: 11.92 kB / 0.5592 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.3391, allocations: 15.95 kB / 0.5592 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3392, allocations: 16.44 kB / 0.5592 GB, free: 3.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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.0002347/0.3394, allocations: 185.6 kB / 0.5594 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.3395, allocations: 35.77 kB / 0.5595 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.3398, allocations: 168.7 kB / 0.5596 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3398, allocations: 4 kB / 0.5596 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3398, allocations: 8 kB / 0.5596 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3398, allocations: 3.984 kB / 0.5596 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007347/0.3405, allocations: 0.4982 MB / 0.5601 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.3406, allocations: 3.984 kB / 0.5601 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.3407, allocations: 35.92 kB / 0.5602 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3407, allocations: 4 kB / 0.5602 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3408, allocations: 4 kB / 0.5602 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3408, allocations: 4 kB / 0.5602 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3408, allocations: 7.969 kB / 0.5602 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.3412, allocations: 392.1 kB / 0.5606 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.3413, allocations: 43.66 kB / 0.5606 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.3413, allocations: 0 / 0.5606 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3415, allocations: 11.94 kB / 0.5606 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.3415, allocations: 16.02 kB / 0.5606 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3416, allocations: 8 kB / 0.5606 GB, free: 2.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002676/0.3418, allocations: 251.2 kB / 0.5609 GB, free: 1.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3418, allocations: 0 / 0.5609 GB, free: 1.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.3423, allocations: 72 kB / 0.5609 GB, free: 1.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001142/0.3424, allocations: 103.2 kB / 0.561 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.3427, allocations: 147.8 kB / 0.5612 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3427, allocations: 0 / 0.5612 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.3428, allocations: 51.92 kB / 0.5612 GB, free: 1.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.3435, allocations: 98.75 kB / 0.5613 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.3451, allocations: 0.9243 MB / 0.5622 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.3456, allocations: 0.8386 MB / 0.563 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.3457, allocations: 35.44 kB / 0.5631 GB, free: 15.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3457, allocations: 0 / 0.5631 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Templates: time 0.007705/0.3534, allocations: 4.688 MB / 0.5677 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.80926354508847] Failed to read output from testmodel.py, exit status != 0: 0.3625835271086544 0.376976984 0.044680495 Calling exit ...