Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.001356/0.001356, allocations: 72.22 kB / 21.24 MB, free: 412 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.001613/0.001613, allocations: 167.4 kB / 24.5 MB, free: 3.461 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.48/1.48, allocations: 177.2 MB / 204.9 MB, free: 8.918 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.1777/0.1777, allocations: 29.43 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.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") [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.002117/0.002117, allocations: 59.91 kB / 431.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3814, allocations: 62.45 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005638/0.3871, allocations: 4.755 MB / 498.4 MB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.3903, allocations: 2.35 MB / 0.489 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.3905, allocations: 17.31 kB / 0.489 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.3917, allocations: 422.3 kB / 0.4894 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.3927, allocations: 0.5045 MB / 0.4899 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.3934, allocations: 287.4 kB / 0.4902 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006566/0.394, allocations: 0.7389 MB / 0.4909 GB, free: 32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.3944, allocations: 277.1 kB / 0.4912 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004002/0.3948, allocations: 346.1 kB / 0.4915 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.3952, allocations: 329.4 kB / 0.4918 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.3953, allocations: 36.66 kB / 0.4919 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007203/0.396, allocations: 0.5338 MB / 0.4924 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.3961, allocations: 201.4 kB / 0.4926 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3963, allocations: 209.7 kB / 0.4928 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.3971, allocations: 0.7661 MB / 0.4935 GB, free: 30.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3971, allocations: 4 kB / 0.4935 GB, free: 30.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3971, allocations: 0 / 0.4935 GB, free: 30.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.3971, allocations: 0 / 0.4935 GB, free: 30.95 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0009805/0.3981, allocations: 0.7145 MB / 0.4942 GB, free: 30.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3981, allocations: 12.48 kB / 0.4942 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.3997, allocations: 203.8 kB / 0.4944 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.4002, allocations: 308.5 kB / 0.4947 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.4002, allocations: 33.27 kB / 0.4948 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.4003, allocations: 41.16 kB / 0.4948 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.401, allocations: 0.6278 MB / 0.4954 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.4011, allocations: 10.73 kB / 0.4954 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.4011, allocations: 19.08 kB / 0.4954 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/0.4012, allocations: 38.23 kB / 0.4955 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.4019, allocations: 0.6069 MB / 0.4961 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.4046, allocations: 2.004 MB / 0.498 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.4051, allocations: 374.5 kB / 0.4984 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.4054, allocations: 215 kB / 0.4986 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.4054, allocations: 6.031 kB / 0.4986 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4055, allocations: 45.11 kB / 0.4986 GB, free: 28.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/0.4055, allocations: 3.938 kB / 0.4986 GB, free: 28.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.003014/0.4085, allocations: 1.55 MB / 0.5001 GB, free: 27.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.4085, allocations: 80.27 kB / 0.5002 GB, free: 27.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.4087, allocations: 245.2 kB / 0.5005 GB, free: 27.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.4087, allocations: 36.8 kB / 0.5005 GB, free: 27.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.4088, allocations: 236.6 kB / 0.5007 GB, free: 26.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.4089, allocations: 156.4 kB / 0.5009 GB, free: 26.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.409, allocations: 88.69 kB / 0.501 GB, free: 26.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.4091, allocations: 347.1 kB / 0.5013 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.4093, allocations: 179.7 kB / 0.5015 GB, free: 26.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.4096, allocations: 292.7 kB / 0.5017 GB, free: 26.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.4101, allocations: 0.5027 MB / 0.5022 GB, free: 25.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4101, allocations: 0 / 0.5022 GB, free: 25.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009815/0.4111, allocations: 0.6712 MB / 0.5029 GB, free: 25.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4111, allocations: 10.47 kB / 0.5029 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4111, allocations: 3.188 kB / 0.5029 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005689/0.4117, allocations: 170.7 kB / 0.5031 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.412, allocations: 96.52 kB / 0.5031 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.4149, allocations: 2.629 MB / 0.5057 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.4151, allocations: 17.94 kB / 0.5057 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.4151, allocations: 22.39 kB / 0.5058 GB, free: 23.64 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 (47): * Single equations (assignments): 46 * 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 {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.4153, allocations: 196.7 kB / 0.5059 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.4154, allocations: 36.92 kB / 0.506 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4164, allocations: 0.6339 MB / 0.5066 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.4164, allocations: 6.25 kB / 0.5066 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.4164, allocations: 3.938 kB / 0.5066 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.4164, allocations: 7.188 kB / 0.5066 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4182, allocations: 1.16 MB / 0.5077 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4182, allocations: 0 / 0.5077 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.4185, allocations: 74.41 kB / 0.5078 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004106/0.4189, allocations: 145.5 kB / 0.508 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.419, allocations: 7.109 kB / 0.508 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.4212, allocations: 2.432 MB / 0.5103 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4213, allocations: 0 / 0.5103 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4224, allocations: 0.9465 MB / 0.5113 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.4225, allocations: 31.91 kB / 0.5113 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.4225, allocations: 14.56 kB / 0.5113 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4227, allocations: 14.25 kB / 0.5113 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.4228, allocations: 40.67 kB / 0.5114 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.4228, allocations: 16.94 kB / 0.5114 GB, free: 20.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.423, allocations: 172.1 kB / 0.5115 GB, free: 20.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.423, allocations: 0 / 0.5115 GB, free: 20.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007288/0.4237, allocations: 138.3 kB / 0.5117 GB, free: 20.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001206/0.4238, allocations: 109 kB / 0.5118 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.425, allocations: 0.6414 MB / 0.5124 GB, free: 19.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.425, allocations: 1.344 kB / 0.5124 GB, free: 19.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.4256, allocations: 408.3 kB / 0.5128 GB, free: 19.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.4261, allocations: 63.81 kB / 0.5129 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.4278, allocations: 1.142 MB / 0.514 GB, free: 18.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.428, allocations: 268.4 kB / 0.5142 GB, free: 18.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.4282, allocations: 64.73 kB / 0.5143 GB, free: 18.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.4283, allocations: 40.36 kB / 0.5143 GB, free: 18.74 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4283, allocations: 0 / 0.5143 GB, free: 18.74 MB / 446.1 MB Notification: Performance of Templates: time 0.01186/0.4402, allocations: 5.382 MB / 0.5196 GB, free: 18.13 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.257541310973465] Failed to read output from testmodel.py, exit status != 0: 0.4505108629819006 0.46832397899999995 0.067689153 Calling exit ...