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.00137/0.00137, allocations: 113 kB / 19.04 MB, free: 3.254 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.001417/0.001417, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.422/1.422, allocations: 225.6 MB / 250.8 MB, free: 13.32 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.177/0.177, allocations: 38.51 MB / 344.4 MB, free: 2.504 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.001933/0.001933, allocations: 71.88 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 61.24 MB / 0.5306 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008391/0.3518, allocations: 7.804 MB / 0.5382 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009009/0.3608, allocations: 5.431 MB / 0.5435 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005968/0.3614, allocations: 25.75 kB / 0.5435 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01144/0.3728, allocations: 5.38 MB / 0.5488 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.3748, allocations: 0.6491 MB / 0.5494 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.376, allocations: 451.7 kB / 0.5498 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003466/0.3794, allocations: 2.244 MB / 0.552 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.3807, allocations: 0.885 MB / 0.5529 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.3819, allocations: 0.6423 MB / 0.5535 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.3832, allocations: 0.7942 MB / 0.5543 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.3833, allocations: 123.9 kB / 0.5544 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008914/0.3842, allocations: 407.5 kB / 0.5548 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005676/0.3848, allocations: 0.4987 MB / 0.5553 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007475/0.3855, allocations: 0.5988 MB / 0.5559 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.388, allocations: 1.717 MB / 0.5575 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.388, allocations: 0 / 0.5575 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.388, allocations: 0 / 0.5575 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.388, allocations: 0 / 0.5575 GB, free: 0.9062 MB / 398.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.003228/0.3912, allocations: 1.458 MB / 0.559 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3913, allocations: 11.89 kB / 0.559 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000743/0.392, allocations: 164.1 kB / 0.5591 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.3939, allocations: 0.9686 MB / 0.5601 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.394, allocations: 61.98 kB / 0.5601 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.3942, allocations: 95.86 kB / 0.5602 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.396, allocations: 1.067 MB / 0.5613 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.396, allocations: 8 kB / 0.5613 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.3961, allocations: 31.98 kB / 0.5613 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.3963, allocations: 73.95 kB / 0.5614 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.3978, allocations: 0.8353 MB / 0.5622 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006543/0.4043, allocations: 3.978 MB / 0.5661 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.4055, allocations: 0.5941 MB / 0.5667 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.4059, allocations: 299.2 kB / 0.567 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.406, allocations: 4.562 kB / 0.567 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.406, allocations: 51.05 kB / 0.567 GB, free: 6.844 MB / 414.1 MB Notification: Performance of pre-optimization done (n=57): time 2.695e-06/0.406, allocations: 0 / 0.567 GB, free: 6.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.005144/0.4112, allocations: 2.597 MB / 0.5695 GB, free: 4.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.4113, allocations: 111.4 kB / 0.5696 GB, free: 4.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.4126, allocations: 0.6958 MB / 0.5703 GB, free: 3.309 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.688e-05/0.4126, allocations: 41.7 kB / 0.5704 GB, free: 3.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/0.4132, allocations: 488.2 kB / 0.5708 GB, free: 2.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.4136, allocations: 249.9 kB / 0.5711 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.4139, allocations: 154.6 kB / 0.5712 GB, free: 2.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003156/0.4142, allocations: 390.8 kB / 0.5716 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007587/0.415, allocations: 309.8 kB / 0.5719 GB, free: 1.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.416, allocations: 0.5149 MB / 0.5724 GB, free: 1.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005938/0.4219, allocations: 1.676 MB / 0.574 GB, free: 15.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.4219, allocations: 4 kB / 0.574 GB, free: 15.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003688/0.4256, allocations: 1.259 MB / 0.5753 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.4257, allocations: 14.75 kB / 0.5753 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.4257, allocations: 8 kB / 0.5753 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.4274, allocations: 401.3 kB / 0.5757 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.4282, allocations: 151.8 kB / 0.5758 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.4409, allocations: 6.241 MB / 0.5819 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.4419, allocations: 31.94 kB / 0.5819 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.442, allocations: 32 kB / 0.582 GB, free: 6.855 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.001033/0.4431, allocations: 365.5 kB / 0.5823 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.4433, allocations: 79.48 kB / 0.5824 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.4458, allocations: 0.8917 MB / 0.5833 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.4458, allocations: 8 kB / 0.5833 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4459, allocations: 3.938 kB / 0.5833 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.4459, allocations: 8 kB / 0.5833 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/0.451, allocations: 2.006 MB / 0.5852 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.451, allocations: 0 / 0.5852 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009226/0.4519, allocations: 128 kB / 0.5854 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008025/0.4527, allocations: 186.4 kB / 0.5855 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/0.4528, allocations: 19.98 kB / 0.5856 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007382/0.4602, allocations: 5.484 MB / 0.5909 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.4602, allocations: 4.031 kB / 0.5909 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.4634, allocations: 1.271 MB / 0.5922 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.4639, allocations: 212.4 kB / 0.5924 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.4641, allocations: 20 kB / 0.5924 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/0.4647, allocations: 19.98 kB / 0.5924 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.4648, allocations: 48.5 kB / 0.5924 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.4649, allocations: 23.98 kB / 0.5925 GB, free: 11.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.466, allocations: 499 kB / 0.5929 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.466, allocations: 3.938 kB / 0.5929 GB, free: 10.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001533/0.4675, allocations: 247.9 kB / 0.5932 GB, free: 10.73 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.001921/0.4694, allocations: 420.8 kB / 0.5936 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002985/0.4724, allocations: 1.102 MB / 0.5947 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4724, allocations: 1.188 kB / 0.5947 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.4738, allocations: 0.6985 MB / 0.5953 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.4752, allocations: 195.9 kB / 0.5955 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/0.4813, allocations: 2.519 MB / 0.598 GB, free: 5.848 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.4826, allocations: 1.146 MB / 0.5991 GB, free: 4.672 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007821/0.4834, allocations: 170.5 kB / 0.5993 GB, free: 4.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.4837, allocations: 63.42 kB / 0.5993 GB, free: 4.438 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4837, allocations: 0 / 0.5993 GB, free: 4.438 MB / 446.1 MB Notification: Performance of Templates: time 0.03616/0.5198, allocations: 13.12 MB / 0.6121 GB, free: 7.41 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.50893281865865]