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.001405/0.001405, allocations: 85.33 kB / 20.68 MB, free: 1.023 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.001497/0.001497, allocations: 163.1 kB / 23.96 MB, free: 4.145 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.531/1.531, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.1795/0.1795, allocations: 29.43 MB / 290.1 MB, free: 3.273 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: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.564e-05, allocations: 9.516 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.005261/0.005297, allocations: 3.32 MB / 434 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.007346, allocations: 1.161 MB / 435.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.007513, allocations: 11.88 kB / 435.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.008209, allocations: 155.2 kB / 435.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.008669, allocations: 179.1 kB / 435.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.009007, allocations: 135.5 kB / 435.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.009415, allocations: 290.8 kB / 436 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.009712, allocations: 122.1 kB / 436.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.01005, allocations: 167.5 kB / 436.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.01026, allocations: 91.69 kB / 436.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.0103, allocations: 20 kB / 436.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.01066, allocations: 195.4 kB / 436.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.01075, allocations: 59.81 kB / 436.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.01087, allocations: 75.7 kB / 436.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.01135, allocations: 287.2 kB / 436.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.01136, allocations: 3.984 kB / 437 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01136, allocations: 4 kB / 437 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.01136, allocations: 0 / 437 MB, free: 11.67 MB / 366.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.0007223/0.01209, allocations: 433.4 kB / 437.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.01213, allocations: 11.98 kB / 437.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006695/0.0128, allocations: 84.72 kB / 437.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.01317, allocations: 197.3 kB / 437.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.01319, allocations: 16.69 kB / 437.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.01324, allocations: 16.38 kB / 437.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.01374, allocations: 260.5 kB / 438 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.01376, allocations: 4.188 kB / 438 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.01379, allocations: 12.12 kB / 438 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.01382, allocations: 16.31 kB / 438 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.01423, allocations: 220.3 kB / 438.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.016, allocations: 1.061 MB / 439.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.01628, allocations: 133.1 kB / 439.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.861e-05/0.01637, allocations: 45.86 kB / 439.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.01639, allocations: 7.984 kB / 439.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.01644, allocations: 42.5 kB / 439.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.01644, allocations: 0 / 439.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004716/0.01691, allocations: 161.5 kB / 439.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/0.017, allocations: 85.05 kB / 439.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.01722, allocations: 187.1 kB / 439.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.01724, allocations: 25.7 kB / 439.9 MB, free: 8.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.01736, allocations: 160.1 kB / 440.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.01741, allocations: 43.64 kB / 440.1 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.01748, allocations: 41.78 kB / 440.2 MB, free: 8.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.01764, allocations: 334.8 kB / 440.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.01772, allocations: 43.97 kB / 440.5 MB, free: 7.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.01788, allocations: 125.1 kB / 440.7 MB, free: 7.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.01814, allocations: 186 kB / 440.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01814, allocations: 0 / 440.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003389/0.01848, allocations: 197.3 kB / 441 MB, free: 7.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.0185, allocations: 8.344 kB / 441 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.0185, allocations: 8 kB / 441.1 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.01852, allocations: 4 kB / 441.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.01877, allocations: 47.91 kB / 441.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.01996, allocations: 1.297 MB / 442.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.02007, allocations: 15.89 kB / 442.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.02009, allocations: 11.98 kB / 442.4 MB, free: 5.762 MB / 366.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.0002017/0.02029, allocations: 145.9 kB / 442.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.02035, allocations: 19.89 kB / 442.6 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.02062, allocations: 143 kB / 442.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.02063, allocations: 0 / 442.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.02063, allocations: 0 / 442.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.02063, allocations: 0 / 442.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000722/0.02135, allocations: 431.6 kB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.02136, allocations: 0 / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.02154, allocations: 31.92 kB / 443.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.02154, allocations: 4.062 kB / 443.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.02156, allocations: 11.98 kB / 443.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.02282, allocations: 1.29 MB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02282, allocations: 0 / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.02323, allocations: 306 kB / 444.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.02326, allocations: 15.84 kB / 444.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.02329, allocations: 8 kB / 444.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.02338, allocations: 4.219 kB / 444.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.02342, allocations: 15.86 kB / 444.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.02344, allocations: 11.98 kB / 444.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.02357, allocations: 125.2 kB / 445 MB, free: 3.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02357, allocations: 0 / 445 MB, free: 3.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.02394, allocations: 51.89 kB / 445 MB, free: 2.996 MB / 366.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.0001465/0.02408, allocations: 107.8 kB / 445.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.02446, allocations: 128.1 kB / 445.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.02446, allocations: 4 kB / 445.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.02462, allocations: 51.91 kB / 445.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.02504, allocations: 35.58 kB / 445.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.02607, allocations: 464.2 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.02623, allocations: 136.9 kB / 445.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.705e-05/0.02631, allocations: 33.39 kB / 446 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.02636, allocations: 20.44 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.02636, allocations: 4 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of Templates: time 0.005489/0.03185, allocations: 1.344 MB / 447.3 MB, free: 0.6484 MB / 366.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: 4.915066409856081] Failed to read output from testmodel.py, exit status != 0: 0.24896017462015152 0.264604444 0.25007113400000003 Calling exit ...