Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.001737/0.001737, 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.002211/0.002211, 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.534/1.534, 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.1782/0.1782, allocations: 29.42 MB / 290.7 MB, free: 3.324 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.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") [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.002089/0.002089, allocations: 64.17 kB / 431.2 MB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3684, allocations: 62.45 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003891/0.3723, allocations: 3.305 MB / 496.9 MB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.3737, allocations: 1.182 MB / 498.1 MB, free: 34.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3738, allocations: 7.25 kB / 498.1 MB, free: 34.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.3744, allocations: 160.3 kB / 498.3 MB, free: 34.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.3747, allocations: 179.6 kB / 498.5 MB, free: 34.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.3749, allocations: 133.6 kB / 498.6 MB, free: 34.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.3752, allocations: 289.9 kB / 498.9 MB, free: 34.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.3754, allocations: 107.3 kB / 499 MB, free: 34.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.3757, allocations: 134.1 kB / 499.1 MB, free: 34.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3758, allocations: 101.8 kB / 499.2 MB, free: 34.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.3758, allocations: 12.94 kB / 499.2 MB, free: 34.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.3761, allocations: 195.3 kB / 499.4 MB, free: 34.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.3761, allocations: 64.38 kB / 499.5 MB, free: 34.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.3762, allocations: 84.05 kB / 499.6 MB, free: 34.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.3765, allocations: 284.5 kB / 499.8 MB, free: 33.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3766, allocations: 0 / 499.8 MB, free: 33.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3766, allocations: 3.156 kB / 499.8 MB, free: 33.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3766, allocations: 0 / 499.8 MB, free: 33.96 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005222/0.3771, allocations: 441.2 kB / 0.4885 GB, free: 33.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.3771, allocations: 17.23 kB / 0.4886 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000635/0.3778, allocations: 75.33 kB / 0.4886 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.378, allocations: 198.7 kB / 0.4888 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.378, allocations: 11.14 kB / 0.4888 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.3781, allocations: 23.73 kB / 0.4889 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.3784, allocations: 262.2 kB / 0.4891 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3784, allocations: 7.422 kB / 0.4891 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.3784, allocations: 7.188 kB / 0.4891 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.3785, allocations: 13.95 kB / 0.4891 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.3787, allocations: 219 kB / 0.4893 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3799, allocations: 1.06 MB / 0.4904 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.38, allocations: 131.4 kB / 0.4905 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.3801, allocations: 44.61 kB / 0.4905 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.3801, allocations: 7.25 kB / 0.4905 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.3801, allocations: 49.69 kB / 0.4906 GB, free: 32.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3801, allocations: 0 / 0.4906 GB, free: 32.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003037/0.3804, allocations: 158 kB / 0.4907 GB, free: 32.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.3805, allocations: 84.27 kB / 0.4908 GB, free: 31.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3806, allocations: 192.8 kB / 0.491 GB, free: 31.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.3806, allocations: 28.83 kB / 0.491 GB, free: 31.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.3806, allocations: 164.4 kB / 0.4912 GB, free: 31.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.3807, allocations: 41.59 kB / 0.4912 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.3807, allocations: 38.17 kB / 0.4913 GB, free: 31.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.3808, allocations: 332.1 kB / 0.4916 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.3808, allocations: 42 kB / 0.4916 GB, free: 31.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.3809, allocations: 129.9 kB / 0.4918 GB, free: 31.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3811, allocations: 184.9 kB / 0.4919 GB, free: 30.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3811, allocations: 0 / 0.4919 GB, free: 30.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002274/0.3813, allocations: 208.4 kB / 0.4921 GB, free: 30.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3813, allocations: 6.5 kB / 0.4921 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3813, allocations: 7.484 kB / 0.4921 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3813, allocations: 7.656 kB / 0.4921 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.3815, allocations: 46.55 kB / 0.4922 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005741/0.3821, allocations: 1.296 MB / 0.4935 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.349e-05/0.3822, allocations: 21.73 kB / 0.4935 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3822, allocations: 9.031 kB / 0.4935 GB, free: 29.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.573e-05/0.3823, allocations: 151 kB / 0.4936 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.3823, allocations: 22.09 kB / 0.4937 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.3825, allocations: 134.4 kB / 0.4938 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3825, allocations: 3.062 kB / 0.4938 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.3825, allocations: 0 / 0.4938 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3825, allocations: 0 / 0.4938 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.383, allocations: 421.1 kB / 0.4942 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.383, allocations: 0 / 0.4942 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.3831, allocations: 38.94 kB / 0.4942 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3831, allocations: 0 / 0.4942 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3831, allocations: 3.031 kB / 0.4942 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004738/0.3836, allocations: 1.302 MB / 0.4955 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3836, allocations: 0 / 0.4955 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.3839, allocations: 310.6 kB / 0.4958 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.3839, allocations: 22.2 kB / 0.4958 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.3839, allocations: 11.06 kB / 0.4958 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.384, allocations: 3.938 kB / 0.4958 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.384, allocations: 21.2 kB / 0.4958 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.384, allocations: 3.188 kB / 0.4959 GB, free: 27.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.067e-05/0.3841, allocations: 127.8 kB / 0.496 GB, free: 27.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3841, allocations: 0 / 0.496 GB, free: 27.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.3844, allocations: 51.02 kB / 0.496 GB, free: 27.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * 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 (13): * Single equations (assignments): 11 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.014e-05/0.3845, allocations: 102.4 kB / 0.4961 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.3848, allocations: 126.3 kB / 0.4962 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3848, allocations: 4.062 kB / 0.4962 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3849, allocations: 52.86 kB / 0.4963 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3852, allocations: 30.73 kB / 0.4963 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/0.386, allocations: 0.5137 MB / 0.4968 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.386, allocations: 135.3 kB / 0.497 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.3861, allocations: 27.84 kB / 0.497 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.3862, allocations: 21.09 kB / 0.497 GB, free: 26.74 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3862, allocations: 0 / 0.497 GB, free: 26.74 MB / 446.1 MB Notification: Performance of Templates: time 0.004068/0.3902, allocations: 1.368 MB / 0.4983 GB, free: 26.55 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9763967039762065] Failed to read output from testmodel.py, exit status != 0: 0.39817434700671583 0.406899043 0.027928243000000002 Calling exit ...