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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 118.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 190.7 kB / 21.35 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 247.1 MB, free: 4.168 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.2942/0.2942, allocations: 38 MB / 337.2 MB, free: 12.88 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001969/0.001969, allocations: 60.77 kB / 467.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.1002, allocations: 58.07 MB / 0.5133 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009443/0.1097, allocations: 7.618 MB / 0.5207 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008488/0.1182, allocations: 5.382 MB / 0.526 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006429/0.1189, allocations: 23.88 kB / 0.526 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.1293, allocations: 5.181 MB / 0.5311 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.131, allocations: 0.6377 MB / 0.5317 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1321, allocations: 458.6 kB / 0.5321 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002941/0.1351, allocations: 2.198 MB / 0.5343 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.1365, allocations: 1.131 MB / 0.5354 GB, free: 3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009008/0.1374, allocations: 0.6383 MB / 0.536 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.1384, allocations: 0.7357 MB / 0.5367 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.1386, allocations: 120 kB / 0.5368 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007763/0.1394, allocations: 387.5 kB / 0.5372 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004912/0.1399, allocations: 0.4988 MB / 0.5377 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006701/0.1406, allocations: 0.5949 MB / 0.5383 GB, free: 28 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.1426, allocations: 1.717 MB / 0.5399 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1426, allocations: 0 / 0.5399 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1426, allocations: 0 / 0.5399 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.1427, allocations: 4 kB / 0.5399 GB, free: 14.3 MB / 414.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.002836/0.1455, allocations: 1.453 MB / 0.5414 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1455, allocations: 15.88 kB / 0.5414 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.1463, allocations: 152.1 kB / 0.5415 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.1482, allocations: 0.9803 MB / 0.5425 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.1482, allocations: 61.94 kB / 0.5425 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.1484, allocations: 95.91 kB / 0.5426 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.1502, allocations: 1.059 MB / 0.5437 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.1502, allocations: 7.938 kB / 0.5437 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.546e-05/0.1503, allocations: 35.98 kB / 0.5437 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/0.1506, allocations: 73.95 kB / 0.5438 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.152, allocations: 0.8353 MB / 0.5446 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006076/0.1581, allocations: 3.978 MB / 0.5485 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1592, allocations: 0.6211 MB / 0.5491 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.1597, allocations: 319.2 kB / 0.5494 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-05/0.1597, allocations: 8.547 kB / 0.5494 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1598, allocations: 47.12 kB / 0.5494 GB, free: 4.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=57): time 2.354e-06/0.1598, allocations: 0 / 0.5494 GB, free: 4.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.004974/0.1648, allocations: 2.612 MB / 0.552 GB, free: 1.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.1649, allocations: 111.4 kB / 0.5521 GB, free: 1.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009005/0.1658, allocations: 0.6919 MB / 0.5528 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.1659, allocations: 41.64 kB / 0.5528 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.1662, allocations: 492.2 kB / 0.5533 GB, free: 124 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.1665, allocations: 250.1 kB / 0.5535 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.1667, allocations: 154.6 kB / 0.5537 GB, free: 15.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1669, allocations: 394.7 kB / 0.554 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.1674, allocations: 305.8 kB / 0.5543 GB, free: 15.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.1681, allocations: 0.511 MB / 0.5548 GB, free: 14.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003943/0.1721, allocations: 1.675 MB / 0.5565 GB, free: 12.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1721, allocations: 4 kB / 0.5565 GB, free: 12.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002405/0.1745, allocations: 1.279 MB / 0.5577 GB, free: 11.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1745, allocations: 11.98 kB / 0.5577 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.1745, allocations: 11.94 kB / 0.5577 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.1757, allocations: 397.3 kB / 0.5581 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.1762, allocations: 155.9 kB / 0.5583 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008067/0.1843, allocations: 6.242 MB / 0.5644 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.1849, allocations: 31.94 kB / 0.5644 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.185, allocations: 32 kB / 0.5644 GB, free: 4.172 MB / 430.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.0006197/0.1856, allocations: 357.5 kB / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.1858, allocations: 79.48 kB / 0.5648 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.1875, allocations: 0.8917 MB / 0.5657 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1875, allocations: 4 kB / 0.5657 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1876, allocations: 7.938 kB / 0.5657 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.1876, allocations: 7.984 kB / 0.5657 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.191, allocations: 2.006 MB / 0.5677 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.1911, allocations: 4 kB / 0.5677 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.1917, allocations: 120 kB / 0.5678 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005819/0.1923, allocations: 182.4 kB / 0.568 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.1924, allocations: 23.98 kB / 0.568 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005362/0.1977, allocations: 5.504 MB / 0.5734 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1978, allocations: 0 / 0.5734 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.1999, allocations: 1.275 MB / 0.5746 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.2003, allocations: 212.4 kB / 0.5748 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2004, allocations: 20 kB / 0.5748 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.2008, allocations: 19.98 kB / 0.5749 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.2009, allocations: 44.5 kB / 0.5749 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.201, allocations: 23.98 kB / 0.5749 GB, free: 8.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006831/0.2017, allocations: 499 kB / 0.5754 GB, free: 8.297 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2017, allocations: 0 / 0.5754 GB, free: 8.297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001008/0.2027, allocations: 248 kB / 0.5756 GB, free: 8.055 MB / 446.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.001486/0.2042, allocations: 431 kB / 0.5761 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.2064, allocations: 1.141 MB / 0.5772 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2064, allocations: 1.188 kB / 0.5772 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.2075, allocations: 0.7219 MB / 0.5779 GB, free: 5.859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.2085, allocations: 184.6 kB / 0.5781 GB, free: 5.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.213, allocations: 2.59 MB / 0.5806 GB, free: 3.039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009809/0.214, allocations: 1.146 MB / 0.5817 GB, free: 1.863 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.2143, allocations: 59.42 kB / 0.5818 GB, free: 1.805 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2143, allocations: 0 / 0.5818 GB, free: 1.805 MB / 446.1 MB Notification: Performance of Templates: time 0.2759/0.4902, allocations: 22.7 MB / 0.6039 GB, free: 56.61 MB / 446.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: 10.20059417700395] Failed to read output from testmodel.py, exit status != 0: 0.49678569403477013 0.507224184 0.36252770300000003 Calling exit ...