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.001053/0.001053, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00205/0.00205, allocations: 170 kB / 24.91 MB, free: 9.199 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.9841/0.9841, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2662/0.2662, allocations: 29.42 MB / 291.2 MB, free: 2.488 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.313e-06/1.313e-06, allocations: 0 / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.941e-05, allocations: 5.297 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01748/0.0175, allocations: 6.91 MB / 323.7 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.03113, allocations: 5.387 MB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005171/0.03165, allocations: 31.75 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008972/0.04062, allocations: 5.449 MB / 334.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.04177, allocations: 0.6993 MB / 335.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008342/0.04261, allocations: 486.8 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.04472, allocations: 2.33 MB / 338.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008501/0.04557, allocations: 1.026 MB / 339.1 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008683/0.04644, allocations: 0.9781 MB / 340.1 MB, free: 8.609 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005916/0.04703, allocations: 0.6194 MB / 340.7 MB, free: 7.988 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-05/0.04712, allocations: 108 kB / 340.8 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008/0.04792, allocations: 427.3 kB / 341.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.0482, allocations: 0.5026 MB / 341.8 MB, free: 6.961 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.04848, allocations: 399.1 kB / 342.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00094/0.04942, allocations: 1.098 MB / 343.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.04942, allocations: 0 / 343.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.04943, allocations: 0 / 343.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.04943, allocations: 4 kB / 343.3 MB, free: 5.465 MB / 314.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.001324/0.05076, allocations: 1.291 MB / 344.6 MB, free: 4.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.05079, allocations: 15.98 kB / 344.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004776/0.05127, allocations: 196.7 kB / 344.8 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007595/0.05203, allocations: 0.6664 MB / 345.4 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.05206, allocations: 61.98 kB / 345.5 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.05219, allocations: 91.88 kB / 345.6 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.05281, allocations: 0.6649 MB / 346.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.05283, allocations: 7.953 kB / 346.2 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.05288, allocations: 27.98 kB / 346.3 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.05299, allocations: 73.95 kB / 346.3 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.05335, allocations: 276.5 kB / 346.6 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.05642, allocations: 2.852 MB / 349.5 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.05685, allocations: 348.5 kB / 349.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.05697, allocations: 111.2 kB / 349.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.05701, allocations: 8.5 kB / 349.9 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.05704, allocations: 43 kB / 350 MB, free: 14.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 1.824e-06/0.05704, allocations: 4 kB / 350 MB, free: 14.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002003/0.05904, allocations: 1.309 MB / 351.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.0591, allocations: 115.5 kB / 351.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.05952, allocations: 0.588 MB / 352 MB, free: 12.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.05956, allocations: 37.7 kB / 352 MB, free: 12.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.05975, allocations: 405.4 kB / 352.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.05988, allocations: 249.8 kB / 352.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.06002, allocations: 146.5 kB / 352.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.06015, allocations: 394.6 kB / 353.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.06028, allocations: 96.72 kB / 353.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.06051, allocations: 321.2 kB / 353.6 MB, free: 10.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.06108, allocations: 0.6008 MB / 354.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.06108, allocations: 4 kB / 354.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.000807/0.06189, allocations: 0.6406 MB / 354.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.06191, allocations: 8 kB / 354.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.06192, allocations: 7.938 kB / 354.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009416/0.06286, allocations: 325.8 kB / 355.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.06312, allocations: 135.8 kB / 355.3 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.0663, allocations: 3.843 MB / 359.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.0665, allocations: 20 kB / 359.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.06653, allocations: 28 kB / 359.2 MB, free: 4.734 MB / 330.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.0001819/0.06671, allocations: 158.8 kB / 359.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.06679, allocations: 67.92 kB / 359.4 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/0.06736, allocations: 475.9 kB / 359.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.06736, allocations: 4 kB / 359.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.06737, allocations: 4 kB / 359.9 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.06738, allocations: 3.984 kB / 359.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.06857, allocations: 1.034 MB / 360.9 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.06858, allocations: 0 / 360.9 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.06886, allocations: 120 kB / 361 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.06913, allocations: 146.9 kB / 361.2 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.06916, allocations: 19.98 kB / 361.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.0716, allocations: 4.384 MB / 365.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.07161, allocations: 7.875 kB / 365.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/0.0723, allocations: 0.7065 MB / 366.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.07243, allocations: 103.4 kB / 366.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.07249, allocations: 20 kB / 366.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.07264, allocations: 12 kB / 366.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.07271, allocations: 52.34 kB / 366.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.07273, allocations: 15.98 kB / 366.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.07294, allocations: 252.5 kB / 366.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07294, allocations: 0 / 366.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005908/0.07353, allocations: 263.9 kB / 367 MB, free: 12.47 MB / 346.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.001197/0.07472, allocations: 0.5862 MB / 367.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008551/0.07558, allocations: 0.7605 MB / 368.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.07559, allocations: 11.94 kB / 368.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.07601, allocations: 0.5565 MB / 368.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.07646, allocations: 179.7 kB / 369.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.07908, allocations: 1.826 MB / 370.9 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.07928, allocations: 279.8 kB / 371.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.07949, allocations: 106.4 kB / 371.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.07973, allocations: 193.2 kB / 371.5 MB, free: 8.148 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.07973, allocations: 0 / 371.5 MB, free: 8.148 MB / 346.7 MB Notification: Performance of Templates: time 0.01611/0.09585, allocations: 12.96 MB / 384.5 MB, free: 11.38 MB / 362.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.319024322088808]