Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.001444/0.001444, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0014/0.0014, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2199/0.2199, allocations: 29.42 MB / 291.2 MB, free: 2.523 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.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.925e-05, allocations: 5.688 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006519/0.006548, allocations: 7.532 MB / 377.2 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.01024, allocations: 2.952 MB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.01061, allocations: 35.69 kB / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.01185, allocations: 0.7856 MB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.01313, allocations: 0.7186 MB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.01388, allocations: 398.2 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.01518, allocations: 1.367 MB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006524/0.01583, allocations: 0.5535 MB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/0.01656, allocations: 0.7596 MB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006618/0.01722, allocations: 0.6 MB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.32e-05/0.0173, allocations: 76 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006416/0.01794, allocations: 0.4989 MB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.01826, allocations: 494.8 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.01854, allocations: 359.2 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.01963, allocations: 1.106 MB / 387.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01963, allocations: 8 kB / 387.8 MB, free: 9.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01964, allocations: 0 / 387.8 MB, free: 9.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.01965, allocations: 0 / 387.8 MB, free: 9.031 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001524/0.02118, allocations: 1.328 MB / 389.2 MB, free: 7.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.02122, allocations: 15.98 kB / 389.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.02211, allocations: 296.1 kB / 389.5 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008806/0.02299, allocations: 0.6753 MB / 390.2 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.02302, allocations: 62.36 kB / 390.2 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.02317, allocations: 92.67 kB / 390.3 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.02406, allocations: 0.7568 MB / 391.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.02409, allocations: 15.89 kB / 391.1 MB, free: 5.672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.02414, allocations: 32 kB / 391.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.02425, allocations: 69.95 kB / 391.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.02488, allocations: 399.5 kB / 391.6 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.02801, allocations: 3.841 MB / 395.4 MB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.02834, allocations: 205.2 kB / 395.6 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.02851, allocations: 127.4 kB / 395.7 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.02853, allocations: 8 kB / 395.7 MB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.02856, allocations: 41.39 kB / 395.8 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.02856, allocations: 0 / 395.8 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002133/0.0307, allocations: 1.353 MB / 397.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.03074, allocations: 85.61 kB / 397.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.03118, allocations: 0.5375 MB / 397.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.03121, allocations: 37.7 kB / 397.8 MB, free: 14.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.03148, allocations: 0.5337 MB / 398.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.03159, allocations: 202.4 kB / 398.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.03174, allocations: 148.2 kB / 398.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.0319, allocations: 0.5547 MB / 399.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.03208, allocations: 113.9 kB / 399.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.0324, allocations: 460.5 kB / 399.8 MB, free: 12.48 MB / 378.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.000757/0.03316, allocations: 0.7568 MB / 400.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.03316, allocations: 4 kB / 400.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001004/0.03417, allocations: 0.7293 MB / 401.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.03419, allocations: 8 kB / 401.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005602/0.03475, allocations: 404.1 kB / 401.7 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.0351, allocations: 146.9 kB / 401.8 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.03545, allocations: 171.7 kB / 402 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.03805, allocations: 5.451 MB / 407.4 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.03833, allocations: 44.06 kB / 407.5 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.03837, allocations: 36 kB / 407.5 MB, free: 4.188 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002535/0.03862, allocations: 208.4 kB / 407.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.03871, allocations: 87.56 kB / 407.8 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.03924, allocations: 431.8 kB / 408.2 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.03925, allocations: 4 kB / 408.2 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.03925, allocations: 0 / 408.2 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.03925, allocations: 11.98 kB / 408.2 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.04058, allocations: 1.137 MB / 409.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.04058, allocations: 4 kB / 409.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.0409, allocations: 124.1 kB / 409.5 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.04091, allocations: 4 kB / 409.5 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.04094, allocations: 19.92 kB / 409.5 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.04094, allocations: 7.938 kB / 409.5 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.04094, allocations: 3.938 kB / 409.5 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.04157, allocations: 0.69 MB / 410.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.0417, allocations: 103.5 kB / 410.3 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.04175, allocations: 19.94 kB / 410.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.0419, allocations: 15.98 kB / 410.4 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.04195, allocations: 40.44 kB / 410.4 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.04197, allocations: 19.98 kB / 410.4 MB, free: 1.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002342/0.0422, allocations: 334.8 kB / 410.7 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0422, allocations: 0 / 410.7 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005719/0.04278, allocations: 231.9 kB / 411 MB, free: 0.5977 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002616/0.04304, allocations: 135 kB / 411.1 MB, free: 468 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009222/0.04396, allocations: 0.9444 MB / 412.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.04396, allocations: 8 kB / 412.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.04415, allocations: 171.4 kB / 412.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.04463, allocations: 147.2 kB / 412.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.04715, allocations: 1.678 MB / 414 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.04733, allocations: 238.8 kB / 414.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.04763, allocations: 165.3 kB / 414.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.04775, allocations: 60.48 kB / 414.5 MB, free: 12.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.04775, allocations: 0 / 414.5 MB, free: 12.92 MB / 394.7 MB Notification: Performance of Templates: time 0.01149/0.05924, allocations: 8.18 MB / 422.7 MB, free: 4.855 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2616805089637637]