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.001574/0.001574, allocations: 83.59 kB / 21.18 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.001866/0.001866, allocations: 165 kB / 24.56 MB, free: 12 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.9461/0.9461, allocations: 177.1 MB / 205 MB, free: 5.621 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.2405/0.2405, allocations: 29.42 MB / 290.9 MB, free: 2.422 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.152e-06/1.152e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.085e-05, allocations: 2.312 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.004915/0.004936, allocations: 4.832 MB / 374.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.007369, allocations: 1.99 MB / 376.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.007668, allocations: 15.88 kB / 376.5 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006997/0.008368, allocations: 350.4 kB / 376.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009579/0.009326, allocations: 0.513 MB / 377.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.009868, allocations: 283 kB / 377.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007066/0.01057, allocations: 0.7474 MB / 378.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.01095, allocations: 285.7 kB / 378.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/0.01152, allocations: 430.7 kB / 379.1 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.01189, allocations: 307.1 kB / 379.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.01194, allocations: 40 kB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007324/0.01267, allocations: 0.5374 MB / 379.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.01283, allocations: 215.5 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.01297, allocations: 175.6 kB / 380.3 MB, free: 236 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.01419, allocations: 0.6541 MB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.01419, allocations: 0 / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.01419, allocations: 0 / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.0142, allocations: 0 / 381 MB, free: 15.57 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.0009896/0.01519, allocations: 0.8115 MB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.01523, allocations: 19.98 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009814/0.01621, allocations: 292.2 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.01657, allocations: 315.2 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.0166, allocations: 29.36 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.01665, allocations: 48.38 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.01715, allocations: 423 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.01716, allocations: 8.078 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.0172, allocations: 20.36 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.01724, allocations: 44.91 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.01762, allocations: 269.7 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.01944, allocations: 1.969 MB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.01978, allocations: 265 kB / 385.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.01991, allocations: 119.4 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.01994, allocations: 15.77 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.01997, allocations: 41.33 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.785e-06/0.01997, allocations: 4 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.00176/0.02173, allocations: 1.105 MB / 386.7 MB, free: 9.543 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.02177, allocations: 85.11 kB / 386.8 MB, free: 9.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.02194, allocations: 292.3 kB / 387.1 MB, free: 9.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.02196, allocations: 29.7 kB / 387.1 MB, free: 9.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.0221, allocations: 287.1 kB / 387.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.38e-05/0.02219, allocations: 162.8 kB / 387.6 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/0.02258, allocations: 95.8 kB / 387.7 MB, free: 8.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.02271, allocations: 0.5118 MB / 388.2 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.02281, allocations: 76.94 kB / 388.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.02299, allocations: 236.2 kB / 388.5 MB, free: 7.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.02331, allocations: 354.8 kB / 388.8 MB, free: 7.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.02331, allocations: 0 / 388.8 MB, free: 7.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005498/0.02386, allocations: 472.4 kB / 389.3 MB, free: 6.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.02388, allocations: 8 kB / 389.3 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.02389, allocations: 4 kB / 389.3 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.02429, allocations: 159 kB / 389.4 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.02448, allocations: 99.77 kB / 389.5 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.02629, allocations: 2.566 MB / 392.1 MB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.02641, allocations: 23.92 kB / 392.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.02643, allocations: 20 kB / 392.2 MB, free: 3.793 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.0001141/0.02654, allocations: 188.4 kB / 392.3 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.0266, allocations: 43.81 kB / 392.4 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.02714, allocations: 431.4 kB / 392.8 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.02714, allocations: 8 kB / 392.8 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.02714, allocations: 0 / 392.8 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.02715, allocations: 3.984 kB / 392.8 MB, free: 3.109 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.001028/0.02818, allocations: 0.9423 MB / 393.8 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.02818, allocations: 4 kB / 393.8 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.02836, allocations: 79.88 kB / 393.8 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/0.02863, allocations: 135.7 kB / 394 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.02865, allocations: 15.94 kB / 394 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.03027, allocations: 2.423 MB / 396.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.03027, allocations: 0 / 396.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.03095, allocations: 0.6705 MB / 397.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.03098, allocations: 35.7 kB / 397.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.03101, allocations: 11.98 kB / 397.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.03111, allocations: 16 kB / 397.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.03116, allocations: 35.92 kB / 397.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.03118, allocations: 16 kB / 397.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.03129, allocations: 197.1 kB / 397.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03129, allocations: 0 / 397.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003711/0.03166, allocations: 136 kB / 397.5 MB, free: 14.19 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 9.877e-05/0.03176, allocations: 107.2 kB / 397.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006496/0.03241, allocations: 0.5526 MB / 398.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03241, allocations: 0 / 398.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.03274, allocations: 395.1 kB / 398.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.03305, allocations: 62.73 kB / 398.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.03443, allocations: 0.9436 MB / 399.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.75e-05/0.03453, allocations: 154.2 kB / 399.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.03464, allocations: 54.92 kB / 399.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.0347, allocations: 36.48 kB / 399.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03471, allocations: 0 / 399.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of Templates: time 0.007627/0.04233, allocations: 5.643 MB / 405.4 MB, free: 6.195 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.1351993209682405]