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.0008618/0.0008618, allocations: 87.67 kB / 21.44 MB, free: 3.113 MB / 18.57 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.004166/0.004166, allocations: 152.5 kB / 24.69 MB, free: 9.426 MB / 18.57 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 0.8826/0.8826, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2323/0.2323, allocations: 29.4 MB / 290.8 MB, free: 2.434 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.347e-05, allocations: 4.109 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005182/0.005215, allocations: 4.731 MB / 436.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.007877, allocations: 2.333 MB / 438.5 MB, free: 5.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.008233, allocations: 15.88 kB / 438.5 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.009041, allocations: 428.4 kB / 439 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.01006, allocations: 0.5324 MB / 439.5 MB, free: 5.023 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.01064, allocations: 275 kB / 439.8 MB, free: 4.754 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007723/0.01141, allocations: 0.755 MB / 440.5 MB, free: 3.996 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.01184, allocations: 297.6 kB / 440.8 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006398/0.01248, allocations: 442.7 kB / 441.2 MB, free: 3.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.0129, allocations: 311 kB / 441.5 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.01294, allocations: 36 kB / 441.6 MB, free: 2.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008415/0.01379, allocations: 0.5374 MB / 442.1 MB, free: 2.391 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.01396, allocations: 211.4 kB / 442.3 MB, free: 2.184 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.01438, allocations: 175.6 kB / 442.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.01539, allocations: 0.7944 MB / 443.3 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.0154, allocations: 4 kB / 443.3 MB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.0154, allocations: 4 kB / 443.3 MB, free: 1.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.01542, allocations: 0 / 443.3 MB, free: 1.207 MB / 410.7 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.0009806/0.0164, allocations: 0.7038 MB / 444 MB, free: 484 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.01644, allocations: 15.92 kB / 444 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009349/0.01737, allocations: 204.4 kB / 444.2 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1853/0.2027, allocations: 300.1 kB / 444.5 MB, free: 54.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.2027, allocations: 31.56 kB / 444.5 MB, free: 54.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.602e-05/0.2028, allocations: 50.14 kB / 444.6 MB, free: 54.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.2035, allocations: 0.6237 MB / 445.2 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2035, allocations: 4.281 kB / 445.2 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.2036, allocations: 21.77 kB / 445.2 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.2036, allocations: 40.02 kB / 445.3 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.2042, allocations: 0.6006 MB / 445.9 MB, free: 54.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.206, allocations: 1.997 MB / 447.9 MB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.2064, allocations: 383.2 kB / 448.3 MB, free: 53.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2066, allocations: 207.2 kB / 448.5 MB, free: 52.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.2066, allocations: 6.094 kB / 448.5 MB, free: 52.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2066, allocations: 37.84 kB / 448.5 MB, free: 52.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.555e-06/0.2066, allocations: 3.219 kB / 448.5 MB, free: 52.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.001984/0.2086, allocations: 1.551 MB / 450.1 MB, free: 52.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.2086, allocations: 88.8 kB / 450.1 MB, free: 52.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.2088, allocations: 249.6 kB / 450.4 MB, free: 52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2088, allocations: 35.55 kB / 450.4 MB, free: 51.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.2089, allocations: 242 kB / 450.7 MB, free: 51.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.2089, allocations: 156.9 kB / 450.8 MB, free: 51.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.209, allocations: 80.17 kB / 450.9 MB, free: 51.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.2091, allocations: 345.9 kB / 451.2 MB, free: 51.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.2093, allocations: 177.5 kB / 451.4 MB, free: 51.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.2094, allocations: 290.3 kB / 451.7 MB, free: 51.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.2098, allocations: 0.4984 MB / 452.2 MB, free: 50.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2098, allocations: 7.922 kB / 452.2 MB, free: 50.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006372/0.2105, allocations: 0.6704 MB / 452.9 MB, free: 50.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2105, allocations: 9.328 kB / 452.9 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2105, allocations: 3.188 kB / 452.9 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/0.2108, allocations: 173.3 kB / 453 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.211, allocations: 97.7 kB / 453.1 MB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.2131, allocations: 2.637 MB / 455.8 MB, free: 48.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.2132, allocations: 21.23 kB / 455.8 MB, free: 48.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.2133, allocations: 20.34 kB / 455.8 MB, free: 48.64 MB / 410.7 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.0001878/0.2134, allocations: 197.9 kB / 456 MB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.2135, allocations: 46.72 kB / 456 MB, free: 48.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.2141, allocations: 0.6254 MB / 456.7 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2141, allocations: 3 kB / 456.7 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2141, allocations: 3.375 kB / 456.7 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2141, allocations: 3.281 kB / 456.7 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.2153, allocations: 1.154 MB / 457.8 MB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2153, allocations: 3.938 kB / 457.8 MB, free: 47.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.2155, allocations: 75.09 kB / 457.9 MB, free: 47.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.2157, allocations: 152.7 kB / 458.1 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.2158, allocations: 7.219 kB / 458.1 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.2173, allocations: 2.41 MB / 460.5 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2173, allocations: 7.25 kB / 460.5 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.2181, allocations: 0.9518 MB / 461.4 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.2181, allocations: 29.33 kB / 461.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.2181, allocations: 18.34 kB / 461.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.2182, allocations: 14.02 kB / 461.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.2183, allocations: 31 kB / 461.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.2183, allocations: 13.75 kB / 461.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.191e-05/0.2184, allocations: 174.6 kB / 461.7 MB, free: 45.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2184, allocations: 0 / 461.7 MB, free: 45.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004455/0.2188, allocations: 140.8 kB / 461.9 MB, free: 45.2 MB / 410.7 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.0001126/0.219, allocations: 115.8 kB / 462 MB, free: 45.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007383/0.2197, allocations: 0.6453 MB / 462.6 MB, free: 44.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2197, allocations: 7.031 kB / 462.6 MB, free: 44.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.22, allocations: 399.6 kB / 463 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2204, allocations: 64.91 kB / 463.1 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2215, allocations: 1.077 MB / 464.1 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.2217, allocations: 268.6 kB / 464.4 MB, free: 43.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.2218, allocations: 36.12 kB / 464.4 MB, free: 43.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2218, allocations: 0 / 464.4 MB, free: 43.88 MB / 410.7 MB Notification: Performance of Templates: time 0.007283/0.2291, allocations: 7.109 MB / 471.6 MB, free: 43.3 MB / 410.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.017587621696293] Failed to read output from testmodel.py, exit status != 0: 0.23661859054118395 0.25039647800000003 0.23211262500000002 Calling exit ...