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.001829/0.001829, allocations: 108.3 kB / 20.48 MB, free: 1.125 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.002287/0.002287, allocations: 209.9 kB / 23.77 MB, free: 4.324 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.528/1.528, allocations: 230.6 MB / 257.6 MB, free: 7.727 MB / 206.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.2156/0.2156, allocations: 38.56 MB / 352.5 MB, free: 12.26 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.89 kB / 493.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4468, allocations: 62.46 MB / 0.5425 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01204/0.4588, allocations: 7.247 MB / 0.5496 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.4699, allocations: 5.105 MB / 0.5546 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000985/0.4709, allocations: 38.44 kB / 0.5546 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01417/0.4851, allocations: 5.73 MB / 0.5602 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.4878, allocations: 0.6884 MB / 0.5609 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.4893, allocations: 470.8 kB / 0.5614 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004394/0.4937, allocations: 2.292 MB / 0.5636 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.4952, allocations: 0.975 MB / 0.5646 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.4966, allocations: 0.6656 MB / 0.5652 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.4981, allocations: 0.7512 MB / 0.5659 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.4983, allocations: 120 kB / 0.5661 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.4993, allocations: 443.5 kB / 0.5665 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005864/0.4999, allocations: 0.5025 MB / 0.567 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006671/0.5005, allocations: 0.4901 MB / 0.5674 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.5031, allocations: 1.787 MB / 0.5692 GB, free: 8.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.5031, allocations: 4 kB / 0.5692 GB, free: 8.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5031, allocations: 0 / 0.5692 GB, free: 8.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.5031, allocations: 3.938 kB / 0.5692 GB, free: 8.801 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.003126/0.5063, allocations: 1.406 MB / 0.5706 GB, free: 7.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5063, allocations: 11.98 kB / 0.5706 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000871/0.5072, allocations: 172.1 kB / 0.5707 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.5091, allocations: 0.9003 MB / 0.5716 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.5092, allocations: 62 kB / 0.5717 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.5094, allocations: 95.92 kB / 0.5718 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.5112, allocations: 1.088 MB / 0.5728 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.5113, allocations: 7.938 kB / 0.5728 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/0.5113, allocations: 31.98 kB / 0.5729 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/0.5116, allocations: 69.95 kB / 0.5729 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.5131, allocations: 0.8353 MB / 0.5738 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005934/0.519, allocations: 3.508 MB / 0.5772 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.5201, allocations: 0.5149 MB / 0.5777 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.5206, allocations: 292.8 kB / 0.578 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.5206, allocations: 12.48 kB / 0.578 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.5206, allocations: 47 kB / 0.578 GB, free: 15.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.725e-06/0.5206, allocations: 0 / 0.578 GB, free: 15.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005164/0.5258, allocations: 2.373 MB / 0.5803 GB, free: 13.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.5259, allocations: 123.4 kB / 0.5805 GB, free: 12.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009754/0.5269, allocations: 0.6761 MB / 0.5811 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.527, allocations: 41.7 kB / 0.5812 GB, free: 12.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.5274, allocations: 0.4884 MB / 0.5816 GB, free: 11.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.5277, allocations: 253.9 kB / 0.5819 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.5279, allocations: 146.6 kB / 0.582 GB, free: 11.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.5281, allocations: 394.8 kB / 0.5824 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.5287, allocations: 305.8 kB / 0.5827 GB, free: 10.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/0.5294, allocations: 0.5361 MB / 0.5832 GB, free: 9.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/0.5334, allocations: 1.597 MB / 0.5848 GB, free: 8.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.5334, allocations: 8 kB / 0.5848 GB, free: 8.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002494/0.5359, allocations: 1.251 MB / 0.586 GB, free: 7.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5359, allocations: 8 kB / 0.586 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5359, allocations: 8.266 kB / 0.586 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.5371, allocations: 414.2 kB / 0.5864 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.5376, allocations: 147.7 kB / 0.5865 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008609/0.5462, allocations: 5.816 MB / 0.5922 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/0.5469, allocations: 27.98 kB / 0.5923 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.547, allocations: 35.98 kB / 0.5923 GB, free: 372 kB / 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.0007205/0.5477, allocations: 368.2 kB / 0.5926 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.5479, allocations: 83.44 kB / 0.5927 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.5497, allocations: 0.886 MB / 0.5936 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.5497, allocations: 4 kB / 0.5936 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5497, allocations: 4 kB / 0.5936 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5497, allocations: 3.984 kB / 0.5936 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.553, allocations: 1.693 MB / 0.5953 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.553, allocations: 0 / 0.5953 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/0.5536, allocations: 115.9 kB / 0.5954 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005647/0.5542, allocations: 202.3 kB / 0.5956 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.5543, allocations: 23.92 kB / 0.5956 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005123/0.5594, allocations: 5.074 MB / 0.6005 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.5594, allocations: 4.031 kB / 0.6005 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.5617, allocations: 1.262 MB / 0.6018 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.5621, allocations: 131.4 kB / 0.6019 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.5622, allocations: 23.98 kB / 0.6019 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.5626, allocations: 16.06 kB / 0.6019 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5627, allocations: 56.28 kB / 0.602 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.5627, allocations: 19.98 kB / 0.602 GB, free: 5.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007847/0.5635, allocations: 487.1 kB / 0.6025 GB, free: 5.492 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5635, allocations: 3.938 kB / 0.6025 GB, free: 5.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001194/0.5647, allocations: 263.9 kB / 0.6027 GB, free: 5.23 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.001737/0.5665, allocations: 0.4922 MB / 0.6032 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.5688, allocations: 1.103 MB / 0.6043 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5689, allocations: 320 / 0.6043 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.5699, allocations: 0.6978 MB / 0.605 GB, free: 3.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.5708, allocations: 174.2 kB / 0.6051 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.5753, allocations: 2.525 MB / 0.6076 GB, free: 324 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.576, allocations: 0.552 MB / 0.6081 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.5765, allocations: 154.3 kB / 0.6083 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.5767, allocations: 56.5 kB / 0.6083 GB, free: 15.52 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5767, allocations: 0 / 0.6083 GB, free: 15.52 MB / 462.1 MB Notification: Performance of Templates: time 0.02479/0.6015, allocations: 12.12 MB / 0.6202 GB, free: 3.543 MB / 462.1 MB " [Timeout remaining time 659] 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.958283293992281] Failed to read output from testmodel.py, exit status != 0: 0.6116287102922797 0.627697967 0.12112769200000001 Calling exit ...