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.0009265/0.0009265, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009621/0.0009621, allocations: 166.2 kB / 24.99 MB, free: 8.355 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.9518/0.9518, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2306/0.2306, allocations: 29.42 MB / 291.2 MB, free: 2.516 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.986e-06/2.986e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.537e-05/4.835e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.006009/0.006058, allocations: 5.027 MB / 374.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.008584, allocations: 2.477 MB / 377.1 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.008846, allocations: 15.88 kB / 377.1 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009467/0.009793, allocations: 446 kB / 377.6 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008139/0.01061, allocations: 0.5207 MB / 378.1 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.01112, allocations: 290.8 kB / 378.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006536/0.01177, allocations: 0.7591 MB / 379.1 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.01218, allocations: 281.7 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005059/0.01269, allocations: 442.6 kB / 379.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.01306, allocations: 311.1 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.754e-05/0.01311, allocations: 36 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006238/0.01373, allocations: 0.549 MB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.0139, allocations: 211.5 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.01405, allocations: 171.6 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.01478, allocations: 0.6463 MB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.01479, allocations: 7.938 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01479, allocations: 0 / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.0148, allocations: 0 / 381.8 MB, free: 15.12 MB / 362.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.0008962/0.01569, allocations: 0.8115 MB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.01573, allocations: 15.98 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.01682, allocations: 292.2 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.0172, allocations: 315.2 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.01723, allocations: 33.38 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.0173, allocations: 48.33 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.01783, allocations: 431 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.01785, allocations: 12.12 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.01789, allocations: 16.38 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/0.01794, allocations: 32.92 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.01838, allocations: 277.7 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.02034, allocations: 1.973 MB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.02069, allocations: 270 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.02083, allocations: 115.4 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.02087, allocations: 15.78 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.0209, allocations: 41.39 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.0209, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001956/0.02285, allocations: 1.101 MB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.0229, allocations: 81.11 kB / 387.6 MB, free: 8.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.0231, allocations: 292.3 kB / 387.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.02313, allocations: 33.7 kB / 387.9 MB, free: 8.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.02327, allocations: 283.1 kB / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.02336, allocations: 158.6 kB / 388.3 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.02347, allocations: 91.92 kB / 388.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.02363, allocations: 0.5274 MB / 389 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.02375, allocations: 72.95 kB / 389 MB, free: 7.492 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.02395, allocations: 236.2 kB / 389.3 MB, free: 7.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.02434, allocations: 346.8 kB / 389.6 MB, free: 6.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02434, allocations: 0 / 389.6 MB, free: 6.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006421/0.02498, allocations: 480.5 kB / 390.1 MB, free: 6.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.025, allocations: 4 kB / 390.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.02501, allocations: 4 kB / 390.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004487/0.02546, allocations: 162.8 kB / 390.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.02569, allocations: 103.8 kB / 390.3 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.02769, allocations: 2.56 MB / 392.9 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.02782, allocations: 23.92 kB / 392.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.02785, allocations: 20 kB / 392.9 MB, free: 3.34 MB / 362.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.0001247/0.02798, allocations: 180.5 kB / 393.1 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.02804, allocations: 51.8 kB / 393.2 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005856/0.02862, allocations: 431.4 kB / 393.6 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.02863, allocations: 7.984 kB / 393.6 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.02863, allocations: 0 / 393.6 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.02863, allocations: 3.938 kB / 393.6 MB, free: 2.656 MB / 362.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.001088/0.02972, allocations: 0.9423 MB / 394.5 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.02972, allocations: 0 / 394.5 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.02992, allocations: 83.83 kB / 394.6 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.0302, allocations: 131.6 kB / 394.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.03022, allocations: 8.109 kB / 394.8 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.03188, allocations: 2.438 MB / 397.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.03188, allocations: 4 kB / 397.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/0.03261, allocations: 0.6666 MB / 397.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.03265, allocations: 43.69 kB / 397.9 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.03269, allocations: 4 kB / 397.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.03279, allocations: 15.98 kB / 397.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.03285, allocations: 35.94 kB / 398 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.03287, allocations: 8 kB / 398 MB, free: 14.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.03297, allocations: 201.1 kB / 398.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03297, allocations: 0 / 398.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003975/0.03337, allocations: 140 kB / 398.3 MB, free: 13.73 MB / 378.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.0001201/0.03349, allocations: 119.3 kB / 398.4 MB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006993/0.03419, allocations: 0.541 MB / 399 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.03419, allocations: 4.062 kB / 399 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.03454, allocations: 391.1 kB / 399.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.03486, allocations: 62.89 kB / 399.4 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.03632, allocations: 0.9419 MB / 400.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.03645, allocations: 154.2 kB / 400.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.03656, allocations: 59.22 kB / 400.6 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.03664, allocations: 32.48 kB / 400.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03664, allocations: 4 kB / 400.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of Templates: time 0.007473/0.04411, allocations: 5.487 MB / 406.1 MB, free: 5.895 MB / 378.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.176845374982804]