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.00135/0.00135, 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.001662/0.001662, allocations: 164.5 kB / 24.49 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.53/1.53, allocations: 177.2 MB / 204.9 MB, free: 9.027 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.1826/0.1826, allocations: 29.42 MB / 290.7 MB, free: 3.289 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.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.002174/0.002174, allocations: 67.91 kB / 431.2 MB, free: 3.246 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.343, allocations: 62.44 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005168/0.3482, allocations: 5.225 MB / 498.8 MB, free: 34.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.3498, allocations: 1.072 MB / 499.9 MB, free: 33.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.35, allocations: 28.31 kB / 499.9 MB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.3503, allocations: 81.33 kB / 0.4883 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006343/0.3509, allocations: 309.6 kB / 0.4886 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.3512, allocations: 138.2 kB / 0.4887 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006402/0.3518, allocations: 0.6959 MB / 0.4894 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.352, allocations: 123 kB / 0.4895 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.3525, allocations: 326.6 kB / 0.4898 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.3529, allocations: 325.9 kB / 0.4901 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.3529, allocations: 31.88 kB / 0.4902 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.353, allocations: 39.47 kB / 0.4902 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.3532, allocations: 164 kB / 0.4904 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.3533, allocations: 194.8 kB / 0.4906 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.3538, allocations: 0.4944 MB / 0.491 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3538, allocations: 0 / 0.491 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3538, allocations: 0 / 0.491 GB, free: 32.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3538, allocations: 4 kB / 0.491 GB, free: 32.23 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001165/0.355, allocations: 0.7337 MB / 0.4918 GB, free: 31.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.355, allocations: 9.844 kB / 0.4918 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.3551, allocations: 54.2 kB / 0.4918 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.3557, allocations: 395.7 kB / 0.4922 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.3557, allocations: 28.75 kB / 0.4922 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.3558, allocations: 33.91 kB / 0.4923 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.3563, allocations: 464.6 kB / 0.4927 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3563, allocations: 3.938 kB / 0.4927 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.3563, allocations: 18.59 kB / 0.4927 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3564, allocations: 9.531 kB / 0.4927 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.3568, allocations: 306.3 kB / 0.493 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.3582, allocations: 1.586 MB / 0.4946 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.3584, allocations: 138.9 kB / 0.4947 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/0.3585, allocations: 51.56 kB / 0.4948 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3585, allocations: 6.719 kB / 0.4948 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3585, allocations: 41.34 kB / 0.4948 GB, free: 29.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.572e-06/0.3585, allocations: 3.938 kB / 0.4948 GB, free: 29.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008461/0.3594, allocations: 0.5388 MB / 0.4953 GB, free: 29.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.3594, allocations: 106 kB / 0.4954 GB, free: 29.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3597, allocations: 366.5 kB / 0.4958 GB, free: 28.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3597, allocations: 25.7 kB / 0.4958 GB, free: 28.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3598, allocations: 291.2 kB / 0.4961 GB, free: 28.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3599, allocations: 64.31 kB / 0.4961 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.3599, allocations: 62.31 kB / 0.4962 GB, free: 28.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.36, allocations: 346.3 kB / 0.4965 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.3601, allocations: 50.2 kB / 0.4966 GB, free: 28.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3602, allocations: 191.8 kB / 0.4968 GB, free: 27.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.3604, allocations: 271.6 kB / 0.497 GB, free: 27.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3604, allocations: 3 kB / 0.497 GB, free: 27.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003412/0.3607, allocations: 287.1 kB / 0.4973 GB, free: 27.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3608, allocations: 6.156 kB / 0.4973 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3608, allocations: 6.156 kB / 0.4973 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3608, allocations: 6.031 kB / 0.4973 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.361, allocations: 72.06 kB / 0.4974 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.361, allocations: 14.03 kB / 0.4974 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.3612, allocations: 10.41 kB / 0.4974 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.3612, allocations: 23.28 kB / 0.4974 GB, free: 27.5 MB / 446.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.0001361/0.3613, allocations: 185.5 kB / 0.4976 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.3614, allocations: 34.7 kB / 0.4976 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.3616, allocations: 170.3 kB / 0.4978 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3616, allocations: 3.031 kB / 0.4978 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3617, allocations: 0 / 0.4978 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3617, allocations: 0 / 0.4978 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3621, allocations: 443.8 kB / 0.4982 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3621, allocations: 0 / 0.4982 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3623, allocations: 37.5 kB / 0.4983 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3623, allocations: 0 / 0.4983 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3623, allocations: 7 kB / 0.4983 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3623, allocations: 6.875 kB / 0.4983 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3623, allocations: 3.938 kB / 0.4983 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.3626, allocations: 406.3 kB / 0.4987 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.3627, allocations: 33.52 kB / 0.4987 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.3627, allocations: 11.25 kB / 0.4987 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.3629, allocations: 0 / 0.4987 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.3629, allocations: 21.17 kB / 0.4987 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.3629, allocations: 3.344 kB / 0.4987 GB, free: 26.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.3631, allocations: 247.8 kB / 0.499 GB, free: 26.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3631, allocations: 0 / 0.499 GB, free: 26.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004141/0.3635, allocations: 74.44 kB / 0.499 GB, free: 26.43 MB / 446.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 7.896e-05/0.3636, allocations: 96.06 kB / 0.4991 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.3638, allocations: 144.6 kB / 0.4993 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3638, allocations: 4.188 kB / 0.4993 GB, free: 26.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.789e-05/0.3639, allocations: 55.36 kB / 0.4993 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.3647, allocations: 104.8 kB / 0.4994 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3658, allocations: 0.8656 MB / 0.5003 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.3659, allocations: 232 kB / 0.5005 GB, free: 25.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.3661, allocations: 51.8 kB / 0.5005 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.3661, allocations: 34.44 kB / 0.5006 GB, free: 25.53 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3661, allocations: 0 / 0.5006 GB, free: 25.53 MB / 446.1 MB Notification: Performance of Templates: time 0.006663/0.3728, allocations: 3.258 MB / 0.5038 GB, free: 25.09 MB / 446.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.090414926060475] Failed to read output from testmodel.py, exit status != 0: 0.381025418988429 0.39170022099999996 0.035251766000000004 Calling exit ...