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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 112 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 186.4 kB / 23.71 MB, free: 4.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.1845/0.1845, allocations: 38.53 MB / 346.3 MB, free: 2.176 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.89 kB / 484.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4004, allocations: 61.29 MB / 0.533 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004539/0.405, allocations: 3.443 MB / 0.5364 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.4065, allocations: 1.253 MB / 0.5376 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.4066, allocations: 12.62 kB / 0.5376 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.4072, allocations: 154.9 kB / 0.5378 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.4075, allocations: 182.6 kB / 0.5379 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.4078, allocations: 131.6 kB / 0.5381 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.4081, allocations: 284.6 kB / 0.5383 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.4083, allocations: 99.36 kB / 0.5384 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.4084, allocations: 129.2 kB / 0.5385 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.4086, allocations: 115.5 kB / 0.5387 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.4086, allocations: 12.38 kB / 0.5387 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.4089, allocations: 236 kB / 0.5389 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.409, allocations: 70.94 kB / 0.539 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.4091, allocations: 88.55 kB / 0.539 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.4095, allocations: 297.5 kB / 0.5393 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4095, allocations: 4 kB / 0.5393 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4095, allocations: 0 / 0.5393 GB, free: 1.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.4095, allocations: 1.719 kB / 0.5393 GB, free: 1.043 MB / 382.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.0005428/0.41, allocations: 439.2 kB / 0.5398 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.4101, allocations: 9.5 kB / 0.5398 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006566/0.4107, allocations: 81.3 kB / 0.5398 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.411, allocations: 201.9 kB / 0.54 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.411, allocations: 11.23 kB / 0.54 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.4111, allocations: 14.94 kB / 0.5401 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.4115, allocations: 282.8 kB / 0.5403 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4115, allocations: 0 / 0.5403 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.4115, allocations: 10.47 kB / 0.5403 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/0.4116, allocations: 10.67 kB / 0.5403 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.4119, allocations: 217 kB / 0.5406 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.4137, allocations: 1.142 MB / 0.5417 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.414, allocations: 131.6 kB / 0.5418 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.414, allocations: 47.33 kB / 0.5418 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4141, allocations: 1.594 kB / 0.5418 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.4141, allocations: 40.19 kB / 0.5419 GB, free: 14.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.4141, allocations: 0 / 0.5419 GB, free: 14.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004052/0.4145, allocations: 171.4 kB / 0.542 GB, free: 14.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.4146, allocations: 78.33 kB / 0.5421 GB, free: 14.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.4148, allocations: 213.3 kB / 0.5423 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4148, allocations: 26.8 kB / 0.5423 GB, free: 14.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.415, allocations: 151.1 kB / 0.5425 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.415, allocations: 49.22 kB / 0.5425 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.4151, allocations: 43.22 kB / 0.5426 GB, free: 14.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4153, allocations: 335 kB / 0.5429 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.4153, allocations: 39.89 kB / 0.5429 GB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.4156, allocations: 124.9 kB / 0.5431 GB, free: 13.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.4159, allocations: 181.6 kB / 0.5432 GB, free: 13.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.4159, allocations: 4.984 kB / 0.5432 GB, free: 13.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003701/0.4163, allocations: 203.5 kB / 0.5434 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4163, allocations: 6.094 kB / 0.5434 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4163, allocations: 3.188 kB / 0.5434 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.4163, allocations: 7.281 kB / 0.5434 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.4166, allocations: 54.59 kB / 0.5435 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.4178, allocations: 1.317 MB / 0.5448 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.4179, allocations: 26.31 kB / 0.5448 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.4179, allocations: 12.41 kB / 0.5448 GB, free: 12.14 MB / 398.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 0.0001421/0.4181, allocations: 143 kB / 0.545 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.4181, allocations: 15.88 kB / 0.545 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.4184, allocations: 146.6 kB / 0.5451 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4184, allocations: 2.562 kB / 0.5451 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.4184, allocations: 5.188 kB / 0.5451 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4184, allocations: 0 / 0.5451 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.4191, allocations: 467.5 kB / 0.5456 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4191, allocations: 4.75 kB / 0.5456 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.4192, allocations: 26.95 kB / 0.5456 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4192, allocations: 2.781 kB / 0.5456 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4192, allocations: 1.344 kB / 0.5456 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.4203, allocations: 1.315 MB / 0.5469 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4203, allocations: 9.266 kB / 0.5469 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.4207, allocations: 306 kB / 0.5472 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.4207, allocations: 18.33 kB / 0.5472 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.4207, allocations: 2.219 kB / 0.5472 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.4208, allocations: 9.156 kB / 0.5472 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.4209, allocations: 7.859 kB / 0.5472 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4209, allocations: 4.844 kB / 0.5472 GB, free: 9.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.421, allocations: 147.8 kB / 0.5474 GB, free: 9.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.421, allocations: 0 / 0.5474 GB, free: 9.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.4214, allocations: 55.02 kB / 0.5474 GB, free: 9.723 MB / 398.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 0.0001169/0.4215, allocations: 107.3 kB / 0.5475 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.422, allocations: 128.9 kB / 0.5476 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.422, allocations: 1.156 kB / 0.5476 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.4221, allocations: 50.69 kB / 0.5477 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.4225, allocations: 45.38 kB / 0.5477 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.4235, allocations: 0.5283 MB / 0.5483 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.4239, allocations: 0.746 MB / 0.549 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.192e-05/0.424, allocations: 29.81 kB / 0.549 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.4241, allocations: 20.52 kB / 0.549 GB, free: 8.363 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4241, allocations: 1.438 kB / 0.549 GB, free: 8.363 MB / 398.1 MB Notification: Performance of Templates: time 0.00529/0.4294, allocations: 1.641 MB / 0.5506 GB, free: 7.551 MB / 398.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.03109316341579] Failed to read output from testmodel.py, exit status != 0: 0.4382901005446911 0.45325493199999994 0.040604232000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa6fb4257b0>