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.00147/0.00147, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.002048/0.002048, allocations: 168.3 kB / 25.61 MB, free: 8.602 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.9781/0.9781, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1512/0.1512, allocations: 29.42 MB / 292 MB, free: 2.621 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 2.134e-06/2.134e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.993e-05, allocations: 9.844 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005444/0.005474, allocations: 4.796 MB / 375.7 MB, free: 27.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.008048, allocations: 1.978 MB / 377.6 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.008266, allocations: 15.88 kB / 377.7 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000864/0.00913, allocations: 338.5 kB / 378 MB, free: 25.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008858/0.01002, allocations: 0.513 MB / 378.5 MB, free: 24.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.01053, allocations: 282.9 kB / 378.8 MB, free: 24.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007854/0.01132, allocations: 0.7439 MB / 379.5 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.01175, allocations: 285.6 kB / 379.8 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.01222, allocations: 434.8 kB / 380.2 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.01255, allocations: 315.1 kB / 380.5 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.01259, allocations: 36 kB / 380.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.01315, allocations: 0.5335 MB / 381.1 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.0133, allocations: 219.4 kB / 381.3 MB, free: 21.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.01342, allocations: 171.6 kB / 381.5 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.01409, allocations: 0.6541 MB / 382.1 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01409, allocations: 0 / 382.1 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01409, allocations: 4 kB / 382.1 MB, free: 20.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.0141, allocations: 0 / 382.1 MB, free: 20.99 MB / 314.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.0007025/0.0148, allocations: 0.815 MB / 383 MB, free: 20.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.01483, allocations: 12.03 kB / 383 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008621/0.01569, allocations: 260.2 kB / 383.2 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.016, allocations: 299.2 kB / 383.5 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.01602, allocations: 29.38 kB / 383.5 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.01607, allocations: 48.34 kB / 383.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.01642, allocations: 394.9 kB / 384 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.01644, allocations: 4.141 kB / 384 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.01646, allocations: 16.38 kB / 384 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.0165, allocations: 40.92 kB / 384 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.01675, allocations: 226.6 kB / 384.3 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.01824, allocations: 1.88 MB / 386.1 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.01849, allocations: 242.5 kB / 386.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.312e-05/0.01858, allocations: 103.4 kB / 386.5 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.01861, allocations: 11.78 kB / 386.5 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.01863, allocations: 41.38 kB / 386.5 MB, free: 16.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.01863, allocations: 0 / 386.5 MB, free: 16.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001404/0.02004, allocations: 0.904 MB / 387.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.02006, allocations: 85.05 kB / 387.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.02018, allocations: 296.1 kB / 387.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.0202, allocations: 29.7 kB / 387.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.02027, allocations: 295 kB / 388.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.02034, allocations: 158.6 kB / 388.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.02042, allocations: 95.8 kB / 388.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.02047, allocations: 0.5117 MB / 388.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.02054, allocations: 60.94 kB / 388.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.02065, allocations: 220.2 kB / 389.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.02085, allocations: 326.8 kB / 389.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.02086, allocations: 0 / 389.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006214/0.02148, allocations: 440.6 kB / 389.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.02149, allocations: 4 kB / 389.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.0215, allocations: 7.984 kB / 389.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.02185, allocations: 153.7 kB / 390.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.02203, allocations: 91.89 kB / 390.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.02342, allocations: 2.49 MB / 392.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.02355, allocations: 16 kB / 392.7 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.02357, allocations: 19.98 kB / 392.7 MB, free: 9.867 MB / 314.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 9.318e-05/0.02366, allocations: 184.5 kB / 392.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.02371, allocations: 55.7 kB / 392.9 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.02414, allocations: 387.4 kB / 393.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.02415, allocations: 4 kB / 393.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.02415, allocations: 0 / 393.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.02415, allocations: 3.984 kB / 393.3 MB, free: 9.223 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.02497, allocations: 0.8374 MB / 394.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.02497, allocations: 0 / 394.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.02514, allocations: 71.91 kB / 394.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/0.02537, allocations: 119.6 kB / 394.3 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.02539, allocations: 12 kB / 394.3 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.02641, allocations: 2.384 MB / 396.7 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02642, allocations: 0 / 396.7 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.02691, allocations: 0.6158 MB / 397.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.02694, allocations: 27.81 kB / 397.4 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.02696, allocations: 15.92 kB / 397.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.02706, allocations: 12 kB / 397.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.02711, allocations: 39.88 kB / 397.4 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.02712, allocations: 12 kB / 397.4 MB, free: 4.883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.688e-05/0.02718, allocations: 193.1 kB / 397.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02718, allocations: 0 / 397.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.02755, allocations: 140 kB / 397.8 MB, free: 4.555 MB / 314.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 9.545e-05/0.02765, allocations: 103.2 kB / 397.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.02814, allocations: 0.5091 MB / 398.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.02814, allocations: 0 / 398.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.02842, allocations: 391.9 kB / 398.8 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.02873, allocations: 69.58 kB / 398.8 MB, free: 3.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.02992, allocations: 0.923 MB / 399.8 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.652e-05/0.03001, allocations: 154.2 kB / 399.9 MB, free: 2.309 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.173e-05/0.0301, allocations: 34.95 kB / 399.9 MB, free: 2.277 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.03021, allocations: 122.2 kB / 400.1 MB, free: 2.156 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.03021, allocations: 0 / 400.1 MB, free: 2.156 MB / 314.7 MB Notification: Performance of Templates: time 0.008031/0.03825, allocations: 5.892 MB / 405.9 MB, free: 12.34 MB / 330.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.266855529975146]