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.00153/0.00153, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001637/0.001637, allocations: 161 kB / 24.55 MB, free: 20 kB / 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.9991/0.9991, allocations: 177.1 MB / 205 MB, free: 5.277 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.2857/0.2857, allocations: 29.41 MB / 290.9 MB, free: 2.461 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.943e-06/1.943e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.433e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.004715/0.00474, allocations: 4.836 MB / 374.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.00724, allocations: 1.994 MB / 376.5 MB, free: 4.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.007501, allocations: 19.88 kB / 376.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.008282, allocations: 342.4 kB / 376.8 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.009325, allocations: 0.513 MB / 377.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.009955, allocations: 287 kB / 377.6 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.01077, allocations: 0.7513 MB / 378.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.01122, allocations: 273.7 kB / 378.6 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00063/0.01185, allocations: 442.7 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.01232, allocations: 307.1 kB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.01237, allocations: 36 kB / 379.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008045/0.01318, allocations: 0.5374 MB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.01337, allocations: 215.5 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.01352, allocations: 171.5 kB / 380.3 MB, free: 276 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009831/0.0145, allocations: 0.6541 MB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01451, allocations: 0 / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01451, allocations: 0 / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.01452, allocations: 0 / 381 MB, free: 15.61 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.0009562/0.01547, allocations: 0.8115 MB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.01551, allocations: 15.98 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.01657, allocations: 292.2 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.017, allocations: 319.2 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.01703, allocations: 33.38 kB / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.01709, allocations: 44.36 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.0176, allocations: 431 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.01762, allocations: 8.141 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.01765, allocations: 16.38 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/0.0177, allocations: 36.92 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.01814, allocations: 273.7 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.02013, allocations: 1.977 MB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.02049, allocations: 259.7 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.02064, allocations: 119.4 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.02067, allocations: 15.72 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.0207, allocations: 41.39 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.794e-06/0.0207, allocations: 4 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001961/0.02266, allocations: 1.097 MB / 386.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.0227, allocations: 81.11 kB / 386.8 MB, free: 9.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.0229, allocations: 300.2 kB / 387.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.02292, allocations: 33.7 kB / 387.1 MB, free: 9.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.02305, allocations: 283.1 kB / 387.4 MB, free: 8.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-05/0.02315, allocations: 154.7 kB / 387.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.02325, allocations: 95.92 kB / 387.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.0234, allocations: 0.5196 MB / 388.2 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.02354, allocations: 76.95 kB / 388.2 MB, free: 7.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.02373, allocations: 236.2 kB / 388.5 MB, free: 7.699 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.02409, allocations: 354.8 kB / 388.8 MB, free: 7.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.02409, allocations: 0 / 388.8 MB, free: 7.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006233/0.02471, allocations: 476.5 kB / 389.3 MB, free: 6.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.02474, allocations: 4 kB / 389.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.02474, allocations: 4 kB / 389.3 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.02515, allocations: 155.9 kB / 389.4 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.02537, allocations: 107.7 kB / 389.5 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.02731, allocations: 2.562 MB / 392.1 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.02744, allocations: 23.92 kB / 392.1 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.02746, allocations: 20 kB / 392.1 MB, free: 3.832 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.0001184/0.02758, allocations: 188.4 kB / 392.3 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.02763, allocations: 43.81 kB / 392.4 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005683/0.0282, allocations: 435.4 kB / 392.8 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.0282, allocations: 4 kB / 392.8 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.0282, allocations: 0 / 392.8 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.02821, allocations: 0 / 392.8 MB, free: 3.152 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.001131/0.02934, allocations: 0.9501 MB / 393.8 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.02934, allocations: 0 / 393.8 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.02953, allocations: 79.94 kB / 393.8 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002811/0.02981, allocations: 135.5 kB / 394 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.02983, allocations: 11.98 kB / 394 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.03141, allocations: 2.434 MB / 396.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03142, allocations: 4 kB / 396.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.03211, allocations: 0.6665 MB / 397.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.03215, allocations: 35.77 kB / 397.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.03217, allocations: 4 kB / 397.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.03227, allocations: 19.98 kB / 397.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.03232, allocations: 35.94 kB / 397.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.03234, allocations: 8 kB / 397.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.03245, allocations: 201.1 kB / 397.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03245, allocations: 4 kB / 397.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.03285, allocations: 136 kB / 397.5 MB, free: 14.23 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.0001135/0.03296, allocations: 119.3 kB / 397.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006977/0.03366, allocations: 0.541 MB / 398.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.03366, allocations: 4.062 kB / 398.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.03403, allocations: 395.1 kB / 398.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.03435, allocations: 52.47 kB / 398.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.0359, allocations: 0.9437 MB / 399.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.03602, allocations: 154.2 kB / 399.7 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.03613, allocations: 51.25 kB / 399.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.0362, allocations: 36.48 kB / 399.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0362, allocations: 0 / 399.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of Templates: time 0.007742/0.04394, allocations: 5.487 MB / 405.3 MB, free: 6.406 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.242388442158699]