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.001437/0.001437, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001449/0.001449, allocations: 163.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.509/1.509, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 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.2176/0.2176, allocations: 29.43 MB / 290.1 MB, free: 3.301 MB / 270.1 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.904e-06/1.904e-06, allocations: 0 / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.62e-05/3.81e-05, allocations: 6.219 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01089/0.01093, allocations: 7.212 MB / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009477/0.02041, allocations: 5.109 MB / 443 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/0.02111, allocations: 35.75 kB / 443.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2127/0.2338, allocations: 5.736 MB / 448.8 MB, free: 19.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.2358, allocations: 0.7039 MB / 449.5 MB, free: 19.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.237, allocations: 473.9 kB / 450 MB, free: 19.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003738/0.2407, allocations: 2.337 MB / 452.3 MB, free: 19.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.242, allocations: 0.9736 MB / 453.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.2435, allocations: 0.9045 MB / 454.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.2446, allocations: 0.6932 MB / 454.9 MB, free: 18.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.2448, allocations: 116.8 kB / 455 MB, free: 18.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009649/0.2458, allocations: 443.2 kB / 455.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005576/0.2463, allocations: 0.5223 MB / 456 MB, free: 18.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005441/0.2469, allocations: 428.2 kB / 456.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.2492, allocations: 1.804 MB / 458.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2492, allocations: 0 / 458.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2492, allocations: 0 / 458.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.2492, allocations: 1 kB / 458.2 MB, free: 18.3 MB / 366.1 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.002921/0.2522, allocations: 1.395 MB / 459.6 MB, free: 17.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2522, allocations: 9.938 kB / 459.6 MB, free: 17.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008963/0.2531, allocations: 181.5 kB / 459.8 MB, free: 17.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.255, allocations: 0.9021 MB / 460.7 MB, free: 16.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.2551, allocations: 66.52 kB / 460.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.2554, allocations: 95.75 kB / 460.8 MB, free: 16.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.2572, allocations: 1.091 MB / 461.9 MB, free: 16.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.2572, allocations: 6.766 kB / 461.9 MB, free: 16.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.734e-05/0.2573, allocations: 30.48 kB / 461.9 MB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002428/0.2575, allocations: 73.62 kB / 462 MB, free: 16.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.2589, allocations: 0.8327 MB / 462.9 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005262/0.2641, allocations: 3.509 MB / 466.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009823/0.2651, allocations: 0.5139 MB / 466.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.2655, allocations: 289 kB / 467.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.2655, allocations: 12 kB / 467.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2656, allocations: 41.19 kB / 467.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/0.2656, allocations: 0 / 467.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004571/0.2701, allocations: 2.369 MB / 469.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.2702, allocations: 114.7 kB / 469.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.271, allocations: 0.6847 MB / 470.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.2711, allocations: 40.77 kB / 470.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.2713, allocations: 497.3 kB / 470.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.2715, allocations: 245 kB / 471.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.2717, allocations: 155.1 kB / 471.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2718, allocations: 399.7 kB / 471.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.2723, allocations: 306.7 kB / 472 MB, free: 10.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.2728, allocations: 0.5417 MB / 472.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/0.2765, allocations: 1.594 MB / 474.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2765, allocations: 2.969 kB / 474.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002122/0.2786, allocations: 1.251 MB / 475.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2786, allocations: 11.5 kB / 475.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2786, allocations: 10.88 kB / 475.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.2797, allocations: 398.4 kB / 475.8 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.2803, allocations: 157.6 kB / 475.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.2867, allocations: 5.811 MB / 481.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/0.2874, allocations: 27.33 kB / 481.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.2874, allocations: 40.72 kB / 481.8 MB, free: 4.125 MB / 366.1 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.000561/0.288, allocations: 362.3 kB / 482.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.2881, allocations: 82.05 kB / 482.2 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.2897, allocations: 0.8951 MB / 483.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2897, allocations: 6.188 kB / 483.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2897, allocations: 6.844 kB / 483.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2897, allocations: 3.984 kB / 483.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.2924, allocations: 1.683 MB / 484.8 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.2924, allocations: 4.562 kB / 484.8 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.293, allocations: 117.9 kB / 485 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/0.2935, allocations: 190.1 kB / 485.1 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.2935, allocations: 23.98 kB / 485.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004802/0.2983, allocations: 5.072 MB / 490.2 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2983, allocations: 4 kB / 490.2 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.3006, allocations: 1.267 MB / 491.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.301, allocations: 135.4 kB / 491.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3011, allocations: 19.94 kB / 491.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.3015, allocations: 19.98 kB / 491.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.3016, allocations: 51.78 kB / 491.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.3017, allocations: 23.98 kB / 491.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007596/0.3024, allocations: 479 kB / 492.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3024, allocations: 0 / 492.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001443/0.3039, allocations: 267.8 kB / 492.5 MB, free: 9.773 MB / 382.1 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.001869/0.3057, allocations: 0.4988 MB / 493 MB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.308, allocations: 1.099 MB / 494.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3081, allocations: 0 / 494.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.3092, allocations: 0.6927 MB / 494.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3102, allocations: 187.4 kB / 495 MB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.3145, allocations: 2.261 MB / 497.2 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.3152, allocations: 0.5519 MB / 497.8 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000492/0.3157, allocations: 162.3 kB / 497.9 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.3159, allocations: 56.5 kB / 498 MB, free: 4.398 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3159, allocations: 0 / 498 MB, free: 4.398 MB / 382.1 MB Notification: Performance of Templates: time 0.02519/0.3411, allocations: 12.06 MB / 0.4981 GB, free: 8.527 MB / 398.1 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: 5.441120021045208] Failed to read output from testmodel.py, exit status != 0: 0.3501967340707779 0.36550176100000004 0.11289994 Calling exit ...