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.001957/0.001957, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002132/0.002132, allocations: 161.3 kB / 24.27 MB, free: 148 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 1.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3491/0.3491, allocations: 29.41 MB / 290.5 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 179] 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.813e-06/1.813e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.403e-05/3.585e-05, allocations: 5.406 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.007695/0.007731, allocations: 4.973 MB / 373.8 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004748/0.01248, allocations: 2.461 MB / 376.3 MB, free: 3.848 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.01275, allocations: 23.88 kB / 376.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.01414, allocations: 442 kB / 376.8 MB, free: 3.391 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.01547, allocations: 0.5207 MB / 377.3 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007722/0.01624, allocations: 290.9 kB / 377.6 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009724/0.01721, allocations: 0.7552 MB / 378.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.01773, allocations: 289.6 kB / 378.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007177/0.01845, allocations: 438.6 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.01903, allocations: 315.1 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.589e-05/0.0191, allocations: 36 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.02019, allocations: 0.5529 MB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.02045, allocations: 215.4 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.02074, allocations: 167.7 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.02196, allocations: 0.8022 MB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.02196, allocations: 0 / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.02196, allocations: 0 / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.02197, allocations: 0 / 381.1 MB, free: 15.03 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.001367/0.02334, allocations: 0.8346 MB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.02338, allocations: 19.98 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.02554, allocations: 292.2 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000742/0.02628, allocations: 315.2 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.02633, allocations: 29.38 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.02643, allocations: 48.36 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.02751, allocations: 483 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.02754, allocations: 8.141 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/0.0276, allocations: 16.38 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/0.02768, allocations: 40.92 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007697/0.02845, allocations: 339.7 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/0.03224, allocations: 2.079 MB / 385.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.03284, allocations: 290.5 kB / 385.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.03311, allocations: 143.3 kB / 386 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.03315, allocations: 11.78 kB / 386 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.0332, allocations: 37.39 kB / 386 MB, free: 9.852 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.645e-06/0.0332, allocations: 4 kB / 386 MB, free: 9.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.003354/0.03655, allocations: 1.167 MB / 387.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.03663, allocations: 85.09 kB / 387.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.03701, allocations: 328.2 kB / 387.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.03705, allocations: 37.7 kB / 387.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.0373, allocations: 295.1 kB / 387.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.03748, allocations: 158.7 kB / 388.1 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.03765, allocations: 107.9 kB / 388.2 MB, free: 7.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003243/0.03797, allocations: 0.5313 MB / 388.7 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.03818, allocations: 92.95 kB / 388.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.03861, allocations: 268.2 kB / 389.1 MB, free: 6.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/0.03952, allocations: 406.8 kB / 389.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.03952, allocations: 0 / 389.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001138/0.04066, allocations: 0.5043 MB / 390 MB, free: 5.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.04068, allocations: 8 kB / 390 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.04069, allocations: 4 kB / 390 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007519/0.04144, allocations: 178.8 kB / 390.2 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.04183, allocations: 99.77 kB / 390.3 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003916/0.04575, allocations: 2.66 MB / 392.9 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.04601, allocations: 23.92 kB / 393 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.04606, allocations: 24 kB / 393 MB, free: 2.555 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.000268/0.04633, allocations: 192.5 kB / 393.2 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/0.04643, allocations: 43.81 kB / 393.2 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.04756, allocations: 475.5 kB / 393.7 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.04757, allocations: 4 kB / 393.7 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.04757, allocations: 0 / 393.7 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.04758, allocations: 7.984 kB / 393.7 MB, free: 1.824 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.002192/0.04977, allocations: 1.028 MB / 394.7 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.04978, allocations: 4 kB / 394.7 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.05014, allocations: 79.83 kB / 394.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005709/0.05071, allocations: 143.5 kB / 394.9 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.05074, allocations: 8 kB / 394.9 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.05438, allocations: 2.505 MB / 397.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.05438, allocations: 3.984 kB / 397.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.05575, allocations: 0.7251 MB / 398.2 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.05584, allocations: 31.77 kB / 398.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.05589, allocations: 11.98 kB / 398.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.05609, allocations: 12 kB / 398.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.05618, allocations: 39.92 kB / 398.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.05622, allocations: 12 kB / 398.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002287/0.05645, allocations: 213.1 kB / 398.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05645, allocations: 0 / 398.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006798/0.05713, allocations: 140 kB / 398.6 MB, free: 12.66 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.0001704/0.0573, allocations: 111.1 kB / 398.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.05856, allocations: 0.5996 MB / 399.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.05856, allocations: 0 / 399.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.05929, allocations: 415.1 kB / 399.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.0598, allocations: 66.38 kB / 399.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.06166, allocations: 0.947 MB / 400.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.06198, allocations: 258.7 kB / 401 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.06217, allocations: 59.22 kB / 401.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.06227, allocations: 32.48 kB / 401.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.382e-06/0.06227, allocations: 0 / 401.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of Templates: time 0.01303/0.0753, allocations: 5.47 MB / 406.6 MB, free: 4.672 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: 4.955100161023438]