Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.0007737/0.0007737, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.0038/0.0038, allocations: 163.6 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.8802/0.8802, allocations: 177.1 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.2065/0.2065, allocations: 29.41 MB / 290.8 MB, free: 2.418 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.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.02e-05, allocations: 4.109 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.006184/0.006204, allocations: 7.228 MB / 438.7 MB, free: 5.809 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005695/0.0119, allocations: 5.098 MB / 443.8 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.01223, allocations: 35.75 kB / 443.8 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1932/0.2054, allocations: 5.742 MB / 449.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.2067, allocations: 0.7041 MB / 450.3 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.2074, allocations: 473.9 kB / 450.7 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.2089, allocations: 2.343 MB / 453.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007072/0.2096, allocations: 0.9803 MB / 454.1 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.2102, allocations: 0.8928 MB / 455 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.2107, allocations: 0.6976 MB / 455.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.2108, allocations: 114.9 kB / 455.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.2112, allocations: 453 kB / 456.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.2115, allocations: 0.5269 MB / 456.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.2117, allocations: 417.3 kB / 457.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.2128, allocations: 1.804 MB / 458.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2128, allocations: 0 / 458.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2128, allocations: 2.719 kB / 459 MB, free: 41.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.2128, allocations: 0 / 459 MB, free: 41.98 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001482/0.2143, allocations: 1.394 MB / 460.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2144, allocations: 12.83 kB / 460.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004528/0.2148, allocations: 179.8 kB / 460.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/0.2157, allocations: 0.8971 MB / 461.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.2158, allocations: 59.42 kB / 461.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.2159, allocations: 98.31 kB / 461.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008674/0.2168, allocations: 1.093 MB / 462.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.2168, allocations: 5.938 kB / 462.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.2168, allocations: 40.59 kB / 462.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.2169, allocations: 71.97 kB / 462.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.2177, allocations: 0.8283 MB / 463.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.2203, allocations: 3.511 MB / 467.1 MB, free: 37.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.2209, allocations: 0.5071 MB / 467.6 MB, free: 37.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.2212, allocations: 290.3 kB / 467.9 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.2212, allocations: 6.031 kB / 467.9 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.2212, allocations: 41.97 kB / 468 MB, free: 37.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=57): time 1.603e-06/0.2212, allocations: 0 / 468 MB, free: 37.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002516/0.2238, allocations: 2.373 MB / 470.3 MB, free: 35.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2238, allocations: 117.1 kB / 470.5 MB, free: 35.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.2242, allocations: 0.6827 MB / 471.1 MB, free: 35.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.2243, allocations: 36.67 kB / 471.2 MB, free: 35.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2244, allocations: 495.6 kB / 471.7 MB, free: 35.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.2245, allocations: 249.1 kB / 471.9 MB, free: 34.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.2246, allocations: 155.7 kB / 472.1 MB, free: 34.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.722e-05/0.2247, allocations: 391.5 kB / 472.4 MB, free: 34.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.225, allocations: 308.1 kB / 472.7 MB, free: 34.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.2253, allocations: 0.5423 MB / 473.3 MB, free: 33.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.2272, allocations: 1.599 MB / 474.9 MB, free: 33.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2272, allocations: 1.75 kB / 474.9 MB, free: 33.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001206/0.2284, allocations: 1.261 MB / 476.1 MB, free: 32.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2284, allocations: 7.562 kB / 476.1 MB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2284, allocations: 6.094 kB / 476.2 MB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.229, allocations: 401.3 kB / 476.5 MB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.2293, allocations: 152.2 kB / 476.7 MB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/0.2333, allocations: 5.826 MB / 482.5 MB, free: 28.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.2335, allocations: 31.12 kB / 482.6 MB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.2336, allocations: 34.69 kB / 482.6 MB, free: 28.7 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (75): * Single equations (assignments): 73 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0003659/0.2339, allocations: 356.9 kB / 482.9 MB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.234, allocations: 83.27 kB / 483 MB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.235, allocations: 0.8909 MB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.235, allocations: 7.406 kB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2351, allocations: 3.562 kB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.2351, allocations: 3.234 kB / 483.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.2369, allocations: 1.686 MB / 485.6 MB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2369, allocations: 1.312 kB / 485.6 MB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.2372, allocations: 119.5 kB / 485.7 MB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.2375, allocations: 187.3 kB / 485.9 MB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.2376, allocations: 26.92 kB / 485.9 MB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.2397, allocations: 5.066 MB / 491 MB, free: 22.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2397, allocations: 5.938 kB / 491 MB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.241, allocations: 1.265 MB / 492.3 MB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.2412, allocations: 127.2 kB / 492.4 MB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.2412, allocations: 33.53 kB / 492.4 MB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2414, allocations: 17.41 kB / 492.4 MB, free: 22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.2415, allocations: 50.94 kB / 492.5 MB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.2415, allocations: 19.64 kB / 492.5 MB, free: 21.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004453/0.242, allocations: 480.5 kB / 493 MB, free: 21.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.242, allocations: 0 / 493 MB, free: 21.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007983/0.2427, allocations: 268.8 kB / 493.2 MB, free: 21.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008498/0.2436, allocations: 0.5048 MB / 493.7 MB, free: 21.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.2449, allocations: 1.095 MB / 494.8 MB, free: 21.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2449, allocations: 1.25 kB / 494.8 MB, free: 21.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.2455, allocations: 0.6965 MB / 495.5 MB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.2461, allocations: 176 kB / 495.7 MB, free: 20.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.2491, allocations: 2.353 MB / 498.1 MB, free: 19.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007628/0.2498, allocations: 0.5471 MB / 498.6 MB, free: 19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.25, allocations: 65.47 kB / 498.7 MB, free: 18.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.25, allocations: 1.406 kB / 498.7 MB, free: 18.99 MB / 410.7 MB Notification: Performance of Templates: time 0.02377/0.2738, allocations: 23.56 MB / 0.51 GB, free: 5.699 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.592569671571255] Failed to read output from testmodel.py, exit status != 0: 0.2790099671110511 0.28624046400000003 0.07177688800000001 Calling exit ...