Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.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.001616/0.001616, allocations: 75.73 kB / 21.24 MB, free: 0.5469 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.001979/0.001979, allocations: 161.2 kB / 24.5 MB, free: 3.719 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.513/1.513, allocations: 177.2 MB / 204.9 MB, free: 9.031 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.183/0.183, allocations: 29.44 MB / 290.7 MB, free: 3.285 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.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") [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.00329/0.00329, allocations: 67.89 kB / 431.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3755, allocations: 62.43 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003976/0.3795, allocations: 3.618 MB / 497.2 MB, free: 35.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.3817, allocations: 1.829 MB / 499.1 MB, free: 34.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.3818, allocations: 10.06 kB / 499.1 MB, free: 34.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.3825, allocations: 232.5 kB / 499.3 MB, free: 33.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.3831, allocations: 308.7 kB / 499.6 MB, free: 33.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.3834, allocations: 177.6 kB / 499.8 MB, free: 33.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.3838, allocations: 453.3 kB / 0.4885 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.384, allocations: 160.9 kB / 0.4887 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.3844, allocations: 204.4 kB / 0.4888 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.3846, allocations: 178.9 kB / 0.489 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.3846, allocations: 32.72 kB / 0.489 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.3851, allocations: 336.6 kB / 0.4894 GB, free: 33.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3852, allocations: 118.2 kB / 0.4895 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3853, allocations: 133.4 kB / 0.4896 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.3858, allocations: 0.5765 MB / 0.4902 GB, free: 32.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3858, allocations: 3.156 kB / 0.4902 GB, free: 32.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3858, allocations: 0 / 0.4902 GB, free: 32.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3858, allocations: 0 / 0.4902 GB, free: 32.8 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007329/0.3865, allocations: 0.583 MB / 0.4907 GB, free: 32.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3866, allocations: 17.23 kB / 0.4908 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007026/0.3873, allocations: 91.16 kB / 0.4908 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.3876, allocations: 293.4 kB / 0.4911 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3877, allocations: 13.75 kB / 0.4911 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.3877, allocations: 20.5 kB / 0.4912 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.3882, allocations: 404.2 kB / 0.4915 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3882, allocations: 4 kB / 0.4916 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3882, allocations: 7.062 kB / 0.4916 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.3882, allocations: 16.81 kB / 0.4916 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005374/0.3888, allocations: 439.3 kB / 0.492 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.3902, allocations: 1.36 MB / 0.4933 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.3908, allocations: 343.4 kB / 0.4936 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3909, allocations: 112.4 kB / 0.4938 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.391, allocations: 3.156 kB / 0.4938 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.3912, allocations: 213.6 kB / 0.494 GB, free: 30.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.3912, allocations: 0 / 0.494 GB, free: 30.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006701/0.3919, allocations: 426.3 kB / 0.4944 GB, free: 30.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.3919, allocations: 135.7 kB / 0.4945 GB, free: 30.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.3922, allocations: 349.9 kB / 0.4948 GB, free: 29.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3922, allocations: 32.58 kB / 0.4949 GB, free: 29.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.3923, allocations: 181.2 kB / 0.495 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.3924, allocations: 85.48 kB / 0.4951 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-05/0.3924, allocations: 62.72 kB / 0.4952 GB, free: 29.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.3925, allocations: 338.9 kB / 0.4955 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.3927, allocations: 106.2 kB / 0.4956 GB, free: 29.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.3929, allocations: 224.5 kB / 0.4958 GB, free: 29.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.3932, allocations: 328.7 kB / 0.4961 GB, free: 28.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3932, allocations: 0 / 0.4961 GB, free: 28.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005022/0.3937, allocations: 388.4 kB / 0.4965 GB, free: 28.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3938, allocations: 6.219 kB / 0.4965 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3938, allocations: 3.25 kB / 0.4965 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3938, allocations: 7.125 kB / 0.4965 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.394, allocations: 61.77 kB / 0.4966 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.394, allocations: 10.72 kB / 0.4966 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3942, allocations: 30.19 kB / 0.4966 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.3942, allocations: 16.34 kB / 0.4966 GB, free: 28.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001278/0.3943, allocations: 184 kB / 0.4968 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.3944, allocations: 30.75 kB / 0.4968 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.395, allocations: 402.5 kB / 0.4972 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.395, allocations: 10.25 kB / 0.4972 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.395, allocations: 0 / 0.4972 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.395, allocations: 3.469 kB / 0.4972 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008236/0.3958, allocations: 0.7483 MB / 0.498 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3958, allocations: 3.062 kB / 0.498 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.396, allocations: 59.81 kB / 0.498 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.396, allocations: 0 / 0.498 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.396, allocations: 9.812 kB / 0.498 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.396, allocations: 0 / 0.498 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.396, allocations: 11 kB / 0.498 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.3965, allocations: 490 kB / 0.4985 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.3966, allocations: 33.31 kB / 0.4985 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.3966, allocations: 13.98 kB / 0.4986 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3968, allocations: 7.125 kB / 0.4986 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.3968, allocations: 27.84 kB / 0.4986 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3969, allocations: 21.12 kB / 0.4986 GB, free: 27.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.3971, allocations: 249.1 kB / 0.4988 GB, free: 27.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3971, allocations: 0 / 0.4988 GB, free: 27.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.3975, allocations: 100.6 kB / 0.4989 GB, free: 27.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00177/0.3992, allocations: 0.5463 MB / 0.4995 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.3997, allocations: 282.7 kB / 0.4997 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3997, allocations: 0.625 kB / 0.4997 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3999, allocations: 149.1 kB / 0.4999 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.4003, allocations: 59.86 kB / 0.4999 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008847/0.4012, allocations: 0.6463 MB / 0.5006 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.4014, allocations: 201.6 kB / 0.5008 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.4015, allocations: 76.58 kB / 0.5008 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.4016, allocations: 38.19 kB / 0.5009 GB, free: 26.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4016, allocations: 4 kB / 0.5009 GB, free: 26.47 MB / 446.1 MB Notification: Performance of Templates: time 0.007984/0.4096, allocations: 4.396 MB / 0.5052 GB, free: 25.89 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.089455436915159] Failed to read output from testmodel.py, exit status != 0: 0.42067668098025024 0.430530297 0.041871639 Calling exit ...