Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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.0008937/0.0008937, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003512/0.003512, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.8502/0.8502, allocations: 177.2 MB / 205 MB, free: 5.723 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.2245/0.2245, allocations: 29.4 MB / 290.9 MB, free: 2.414 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.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 431.4 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.184e-05, allocations: 11.91 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009349/0.00938, allocations: 7.613 MB / 439.1 MB, free: 5.453 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008774/0.01815, allocations: 5.058 MB / 444.1 MB, free: 384 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.01891, allocations: 39.69 kB / 444.2 MB, free: 344 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1628/0.1818, allocations: 5.776 MB / 449.9 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.1831, allocations: 0.8774 MB / 450.8 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008477/0.184, allocations: 0.5383 MB / 451.4 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.1858, allocations: 2.633 MB / 454 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000512/0.1863, allocations: 0.5536 MB / 454.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007297/0.187, allocations: 1.009 MB / 455.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.1878, allocations: 1.011 MB / 456.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1879, allocations: 109.8 kB / 456.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.1884, allocations: 390.6 kB / 457.1 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.1888, allocations: 0.7012 MB / 457.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.1891, allocations: 489.1 kB / 458.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.1903, allocations: 1.777 MB / 460 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1903, allocations: 0 / 460 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1903, allocations: 0 / 460 MB, free: 42.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.1903, allocations: 4 kB / 460 MB, free: 42.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001968/0.1923, allocations: 1.537 MB / 461.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1923, allocations: 16.83 kB / 461.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008208/0.1931, allocations: 276.2 kB / 461.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1942, allocations: 0.8777 MB / 462.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.1943, allocations: 70.83 kB / 462.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.1946, allocations: 194 kB / 463 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.196, allocations: 1.562 MB / 464.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.196, allocations: 3 kB / 464.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.1961, allocations: 41.45 kB / 464.6 MB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002873/0.1964, allocations: 151.1 kB / 464.7 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.1976, allocations: 1.243 MB / 466 MB, free: 39.44 MB / 410.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 preOpt removeSimpleEquations (simulation): time 0.004791/0.2024, allocations: 5.493 MB / 471.5 MB, free: 35.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.2034, allocations: 0.8682 MB / 472.3 MB, free: 35.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.2038, allocations: 490.3 kB / 472.8 MB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.2039, allocations: 10.09 kB / 472.8 MB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2039, allocations: 48.31 kB / 472.9 MB, free: 35.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.206e-06/0.2039, allocations: 0 / 472.9 MB, free: 35.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.003891/0.2078, allocations: 3.247 MB / 476.1 MB, free: 34.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.2078, allocations: 87.17 kB / 476.2 MB, free: 33.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/0.2083, allocations: 0.7163 MB / 476.9 MB, free: 33.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.2084, allocations: 48.09 kB / 477 MB, free: 33.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.2086, allocations: 0.5631 MB / 477.5 MB, free: 33.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.2087, allocations: 382 kB / 477.9 MB, free: 32.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.2089, allocations: 229.5 kB / 478.1 MB, free: 32.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.209, allocations: 416.9 kB / 478.5 MB, free: 32.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/0.2096, allocations: 0.5623 MB / 479.1 MB, free: 32.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007013/0.2103, allocations: 0.8866 MB / 480 MB, free: 31.67 MB / 410.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.004512/0.2148, allocations: 3.23 MB / 483.2 MB, free: 30.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.2148, allocations: 7.094 kB / 483.2 MB, free: 30.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003629/0.2184, allocations: 2.691 MB / 485.9 MB, free: 29.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2185, allocations: 12.94 kB / 485.9 MB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.2185, allocations: 10.62 kB / 485.9 MB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.2203, allocations: 1.152 MB / 487.1 MB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.2209, allocations: 203.1 kB / 487.3 MB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.2334, allocations: 11.86 MB / 499.1 MB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/0.2342, allocations: 61.53 kB / 499.2 MB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.864e-05/0.2343, allocations: 52.27 kB / 499.3 MB, free: 23.72 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005697/0.2349, allocations: 399.2 kB / 499.6 MB, free: 23.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.235, allocations: 98.58 kB / 499.7 MB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.2364, allocations: 1.262 MB / 0.4893 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.2365, allocations: 11 kB / 0.4893 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2365, allocations: 4 kB / 0.4893 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.2365, allocations: 6.438 kB / 0.4893 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.2392, allocations: 2.239 MB / 0.4915 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2392, allocations: 0.5625 kB / 0.4915 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.24, allocations: 276.6 kB / 0.4917 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.2401, allocations: 55.14 kB / 0.4918 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.2402, allocations: 40.78 kB / 0.4918 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008197/0.241, allocations: 2.584 MB / 0.4943 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.241, allocations: 3.938 kB / 0.4944 GB, free: 19.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.2426, allocations: 1.739 MB / 0.496 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.243, allocations: 182.7 kB / 0.4962 GB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.2431, allocations: 32.77 kB / 0.4963 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.2434, allocations: 41.72 kB / 0.4963 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.2436, allocations: 73.14 kB / 0.4964 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.2436, allocations: 31.11 kB / 0.4964 GB, free: 18.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004585/0.2441, allocations: 481.6 kB / 0.4969 GB, free: 18.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2441, allocations: 0 / 0.4969 GB, free: 18.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001019/0.2451, allocations: 376 kB / 0.4972 GB, free: 17.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000138/0.2452, allocations: 143.8 kB / 0.4973 GB, free: 17.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.2476, allocations: 2.033 MB / 0.4993 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2476, allocations: 4 kB / 0.4993 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.2482, allocations: 0.7361 MB / 0.5001 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.2489, allocations: 212.9 kB / 0.5003 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.2523, allocations: 3.641 MB / 0.5038 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.2528, allocations: 0.7177 MB / 0.5045 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.253, allocations: 84.42 kB / 0.5046 GB, free: 11.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.253, allocations: 0 / 0.5046 GB, free: 11.03 MB / 410.7 MB Notification: Performance of Templates: time 0.01958/0.2726, allocations: 24.95 MB / 0.529 GB, free: 2.074 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.541167343966663] Failed to read output from testmodel.py, exit status != 0: 0.28083434235304594 0.293486877 0.101196327 Calling exit ...